Show TOC Start of Content Area

Background documentation Log Types and Formats  Locate the document in its SAP Library structure

 

The Log Viewer tool supports the following log types and formats:

Log Types

Log Formats

      ListLog

      ASCIILog

      SysLog

      List

      ASCII; Trace

      ABAP Sys Log

 

You cannot configure the log types and formats.

Note

The Message field in Log Viewer has maximum size of 64 KB.

 

Log Formats Descriptions

List Format

This is the standard format that can be parsed and that is used by the Log Viewer and the AS Java. List formatted logs are written to a file whose values are separated by a hash (#). For example:

#1.3#10.48.27.165:4A5AB2:E99D42D4F4:-8000#Mon Dec 01 22:00:00 PDT 2003#com.sap.FooClass#com.sap.FooClass.fooMethod#main##0#0#Fatal##Plain###A sample fatal message

 

ASCII Format

A log file in ASCII format is any text file with no particular format.

 

Trace Format

This format is the same as the ASCII format. However, a log file in trace format is a text file with a particular format. The format is defined by a pattern. The pattern for a trace formatted message is the following:

%24d %-40l [%t] %s: %m

where:

      %d is a timestamp in a readable format

      %l is the location on behalf of which the message has been created

      %t is the thread that has emitted the message

      %s is the severity of the message

      %m is the message text.

The numbers in the pattern denote the number of characters for an item. The corresponding output is the following:

Dec 01, 2007 10:10:00 PM com.sap.FooClass.fooMethod [main]

Fatal: A sample fatal message

 

 

End of Content Area