Logging and tracing IMS TM resource adapter information

Configure the logging and tracing setting in WebSphere® Application Server to ensure messages are logged, and diagnostic trace information is recorded for the IMS™ TM resource adapter.

About this task

Application logging captures various events that happen in the execution of an application. The IMS TM resource adapter provides Java™ logging support that builds on the java.util.logging package included in WebSphere Application Server. Because Java message logging is included in the trace log, logging and tracing is used together to describe the troubleshooting support feature. While the message logs are for end users, application developers, or system administrators, diagnostic trace information is for technical support personnel to obtain finer and verbose details of events that took place.

In WebSphere Application Server, tracing for all components is disabled by default. After you configure the logging and tracing setting, tracing is enabled. A trace file is created when logging and tracing is enabled, and a Java application is run in WebSphere Application Server.

For standalone applications, you can also create your own logger by using the java.util.logging.Logger object, create a FileHandler, pass the log file to the FileHandler, and set the logger to the ManagedConnectionFactory object.

Tip: Ensure that only one client is running when the trace is on.