Why and when to perform this task
The showlog command converts the service log
from binary format into plain text. Use the following showlog commands
to produce output in Common Base Event XML format:
- On a Windows platform: showlog -format=CBE-XML-1.0.1 filename
- On a UNIX platform: showlog -format=CBE-XML-1.0.1 filename
- On a z/OS platform: showlog -start startDateTime -format=CBE-XML-1.0.1 logStreamName
where:
- filename
- Is the service log file name.
- startDateTime
- Specifies the start date and time, in yyyy-MM-ddTHH:mm:ss.SSSZ format.
Milliseconds and time zone are optional.
- logStreamName
- Is the name of the configured error log stream.
For examples of showlog scripts, see Showlog Script.