[z/OS]

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 (included as part of the Application Server Toolkit).

Procedure

  1. Click Application servers > server1 > Process Definition > Control > Java Virtual Machine > Custom Properties
  2. Add a new custom property with name="com.ibm.ws.logging.zOS.errorLog.format" and value "CBE-XML-1.0.1"
  3. 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.

Note:

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.




In this information ...


IBM Redbooks, demos, education, and more

(Index)

Use IBM Suggests to retrieve related content from ibm.com and beyond, identified for your convenience.

This feature requires Internet access.

Task topic Task topic    

Terms and conditions for information centers | Feedback

Last updatedLast updated: Feb 5, 2014 9:49:51 PM CST
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=compass&product=was-nd-mp&topic=ttrb_cbemessagegen
File name: ttrb_cbemessagegen.html