Show TOC Start of Content Area

Background documentation Log Viewer Service  Locate the document in its SAP Library structure

This service provides an interface for the Log Viewer clients (Online Log Viewer in the Visual Administrator, Standalone Log Viewer, Logs and Traces plug-in in the SAP NetWeaver Administrator) to query and read the logs on the J2EE Engine.

The Log Viewer service runs both on dispatchers and server processes.

Dispatcher

Property

Description

Default Value

Logviewer_ASCIILogPath

Specifies ASCII log files and directories containing ASCII log files to be registered.

ASCII log files are specified by a fully qualified name.

Each directory must be specified separately, or an ellipsis (...) must be added to the directory name to register all files in all subdirectories.

As a directory separator, for Microsoft Windows-based systems, use double backslash (\\), and for Unix-based systems, use slash (/). Slash (/) is also an operating system-independent directory separator.

As a path separator, use the one that is specified in the Logviewer_PathSeparator property.

../../../work;.

Logviewer_CCMSDoNotGenerateTemplateForFilename

Specifies directory and log file names for which CCMS template is not created.

trc;

Logviewer_CCMSGenerateTemplateForFilename

Specifies directory and log file names for which a CCMS template is created.

log;

Logviewer_CCMSTemplateGenerationDirectory

Specifies the directory in which CCMS template files are stored.

By default, for Microsoft Windows-based systems, it is <Drive>:\usr\sap\prfclog\logmon.

By default, for Unix-based systems, it is /usr/sap/prfclog/logmon.

.

Logviewer_CCMSTemplateGenerationFlag

Specifies if a CCMS template file is created.

If set to 0, no template file is created.

If set to 1, a template file is created.

1

Logviewer_CCMSTemplatePattern_ListLog_Debug

Specifies the log type and the text string pattern the CCMS searches for, and the color in which the CCMS displays the corresponding line in the log.

It has the following format:

Logviewer_CCMSTemplatePattern_

<Type_of_Formatter>_<Text_Sting_Pattern> = <Color_Value>

GREEN

Logviewer_CCMSTemplatePattern_ListLog_Error

See above.

RED

Logviewer_CCMSTemplatePattern_ListLog_Fatal

See above.

RED

Logviewer_CCMSTemplatePattern_ListLog_Info

See above.

GREEN

Logviewer_CCMSTemplatePattern_ListLog_Warning

See above.

YELLOW

Logviewer_CCMSTemplatePattern_SATTrace_Debug

See above.

GREEN

Logviewer_CCMSTemplatePattern_SATTrace_Error

See above.

RED

Logviewer_CCMSTemplatePattern_SATTrace_Fatal

See above.

RED

Logviewer_CCMSTemplatePattern_SATTrace_Info

See above.

GREEN

Logviewer_CCMSTemplatePattern_SATTrace_Warning

See above.

YELLOW

Logviewer_CCMSTemplatePattern_TextFormatLog_Debug

See above.

GREEN

Logviewer_CCMSTemplatePattern_TextFormatLog_Error

See above.

RED

Logviewer_CCMSTemplatePattern_TextFormatLog_Fatal

See above.

RED

Logviewer_CCMSTemplatePattern_TextFormatLog_Info

See above.

GREEN

Logviewer_CCMSTemplatePattern_TextFormatLog_Warning

See above.

YELLOW

Logviewer_CCMSTemplatePattern_TextFormatTrace_Debug

See above.

GREEN

Logviewer_CCMSTemplatePattern_TextFormatTrace_Error

See above.

RED

Logviewer_CCMSTemplatePattern_TextFormatTrace_Fatal

See above.

RED

Logviewer_CCMSTemplatePattern_TextFormatTrace_Info

See above.

GREEN

Logviewer_CCMSTemplatePattern_TextFormatTrace_Warning

See above.

YELLOW

Logviewer_DefaultConsoleDumpLevel

-

ERROR

Logviewer_DefaultDumpOnConsole

-

true

Logviewer_DefaultFormatter

-

com.sap.tc.logging.ListFormatter

Logviewer_LogDirectoryWriteToFile

Specifies the directory in which an XML file is automatically created for each J2EE Engine node in the cluster. This XML file contains information about each log file that is already registered on the J2EE Engine node. The Standalone Log Viewer server uses these XML files to display the corresponding log files.

The name of the XML files is the following: <Host>_<SID>_<Instance number>_<Node ID>_lv_.xml

As a directory separator, for Microsoft Windows-based systems, use double backslash (\\), and for Unix-based systems, use slash (/). Slash (/) is also an operating system-independent directory separator.

/tmp/

Logviewer_MonitorablePath

Specifies the directories containing log files to be monitored.

Each directory must be specified separately, or an ellipsis (...) must be added to the directory name so that all subdirectories can be monitored.

As a directory separator, for Microsoft Windows-based systems, use double backslash (\\), and for Unix-based systems, use slash (/). Slash (/) is also an operating system-independent directory separator.

As a path separator, use the one that is specified in the Logviewer_PathSeparator property.

../../../work/...

Logviewer_PathSeparator

Specifies a path separator that is operating system-independent.

If not specified, the operating system-specific path separator is used.

;

Logviewer_SessionExpiration

Specifies the expiration time of a log query session in seconds.

1800

 

Server

Property

Description

Default Value

Logviewer_ASCIILogPath

See above.

../../../work;.

Logviewer_CCMSDoNotGenerateTemplateForFilename

See above.

trc;

Logviewer_CCMSGenerateTemplateForFilename

See above.

log;

Logviewer_CCMSTemplateGenerationDirectory

See above.

.

Logviewer_CCMSTemplateGenerationFlag

See above.

1

Logviewer_CCMSTemplatePattern_ListLog_Debug

See above.

GREEN

Logviewer_CCMSTemplatePattern_ListLog_Error

See above.

RED

Logviewer_CCMSTemplatePattern_ListLog_Fatal

See above.

RED

Logviewer_CCMSTemplatePattern_ListLog_Info

See above.

GREEN

Logviewer_CCMSTemplatePattern_ListLog_Warning

See above.

YELLOW

Logviewer_CCMSTemplatePattern_SATTrace_Debug

See above.

GREEN

Logviewer_CCMSTemplatePattern_SATTrace_Error

See above.

RED

Logviewer_CCMSTemplatePattern_SATTrace_Fatal

See above.

RED

Logviewer_CCMSTemplatePattern_SATTrace_Info

See above.

GREEN

Logviewer_CCMSTemplatePattern_SATTrace_Warning

See above.

YELLOW

Logviewer_CCMSTemplatePattern_TextFormatLog_Debug

See above.

GREEN

Logviewer_CCMSTemplatePattern_TextFormatLog_Error

See above.

RED

Logviewer_CCMSTemplatePattern_TextFormatLog_Fatal

See above.

RED

Logviewer_CCMSTemplatePattern_TextFormatLog_Info

See above.

GREEN

Logviewer_CCMSTemplatePattern_TextFormatLog_Warning

See above.

YELLOW

Logviewer_CCMSTemplatePattern_TextFormatTrace_Debug

See above.

GREEN

Logviewer_CCMSTemplatePattern_TextFormatTrace_Error

See above.

RED

Logviewer_CCMSTemplatePattern_TextFormatTrace_Fatal

See above.

RED

Logviewer_CCMSTemplatePattern_TextFormatTrace_Info

See above.

GREEN

Logviewer_CCMSTemplatePattern_TextFormatTrace_Warning

See above.

YELLOW

Logviewer_DefaultConsoleDumpLevel

-

ERROR

Logviewer_DefaultDumpOnConsole

-

true

Logviewer_DefaultFormatter

-

com.sap.tc.logging.ListFormatter

Logviewer_LogDirectoryWriteToFile

See above.

/tmp/

Logviewer_MonitorablePath

See above.

../../../work/...

Logviewer_PathSeparator

See above.

;

Logviewer_SessionExpiration

See above.

1800

Logviewer_socketPort

Specifies the port number of the server on which the Log Viewer is listening for new logs. This property applies only when you want to register a log via the socket connection on a server node of the J2EE Engine

0

 

 

End of Content Area