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.
The Message field in Log Viewer has maximum size of 64 KB.
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 |
A log file in ASCII format is any text file with no particular 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 |