Generating messages in Common Base Event format
Use the administrative console to enable writing of the logstream in Common Base Event format.
About this task
The z/OS® logs can be stored in Common Base Event format. This enables the Showlog tool to read the data in the logstream. In turn, the showlog output can be read by the log and trace analyzer.
Procedure
- Click .
- Add a new custom property with
name="com.ibm.ws.logging.zOS.errorLog.format" and value "CBE-XML-1.0.1"
- Restart your application server for this setting to take effect.
Results
When this property is set to CBE-XML-1.0.1, the messages written to the error logstream are in binary Common Base Event format. You can then use the showlog script to view the binary Common Base Event records in the logstream.
If you enable writing of the logstream in Common Base Event format, the error log is no longer viewable with the log browse utility. This action changes the format used to write to the logstream so that only the showlog tool can read it.