Using a message logger

Why and when to perform this task

WebSphere Application Server for z/OS provides code that creates and manages a message logger, which processes your application's messages. WebSphere Application Server for z/OS creates only one message logger for each unique organization, product, or component, so that you can more easily identify the messages recorded in the error log stream or CTRACE data set for a specific application. The message logger runs in the Java Virtual Machine (JVM) for the WebSphere Application Server for z/OS server in which your Java application will run.

To use a message logger, in your Java application:

Steps for this task

  1. Define the message logger.
  2. Drive the method to instruct WebSphere Application Server for z/OS to create the message logger.
  3. Code messages at appropriate points in your application.

Related concepts
Welcome to applications



Searchable topic ID:   ttrb_usingmsglog
Last updated: Jun 21, 2007 9:56:50 PM CDT    WebSphere Application Server for z/OS, Version 5.0.2
http://publib.boulder.ibm.com/infocenter/wasinfo/index.jsp?topic=/com.ibm.websphere.zseries.doc/info/zseries/ae/ttrb_usingmsglog.html

Library | Support | Terms of Use | Feedback