Showlog commands for Common Base Events
The showlog command converts the service log from binary format into plain text.
These showlog commands to produce output in Common Base Event XML format.
- showlog -format CBE-XML-1.0.1 filename
- (iSeries) showlog -format CBE-XML-1.0.1 filename
- showlog -start startDateTime -format CBE-XML-1.0.1 logStreamName
where:
For examples of showlog scripts, see Viewing the service log.
- filename
- Is the service log file name.
- (ZOS) startDateTime
- (ZOS) Start date and time, in yyyy-MM-ddTHH:mm:ss.SSSZ format. Milliseconds and time zone are optional.
- (ZOS) logStreamName
- (ZOS) Is the name of the configured error log stream.
View the service log (ZOS) Generate messages in Common Base Event format (ZOS) Logstream size considerations