To turn on logging and tracing for IMS™ TM resource
adapter information
in WebSphere® Application
Server,
set the trace output to a file or the memory buffer, and specify the
log level for the packages that contain IMS TM resource
adapter information.
About this task
To set controls for logging and tracing IMS TM resource
adapter information:
Procedure
- On the welcome
page of WebSphere Application
Server administrative
console, expand Troubleshooting, and click Logs
and Trace to open the Logging and Tracing page.
- On the Logging
and Tracing page, click the server that you want to trace (for example,
server1), and click Diagnostic Trace. The Diagnostic
trace service page opens.
- On the Configuration tab, set Trace
Ouput to Memory Buffer or File
- If you select File to store trace
output, you can accept the default name and location of the trace
output file or you can modify it. To modify the default name and location,
enter a different name and location of the file in the File Name field.
- Click OK.
- On the Logging
and Tracing page, click Change Log Detail Levels. The Change Log
Detail Levels page displays.
- To enable logging and tracing for the IMS TM resource
adapter:
- Under General Properties, click Components.
- Enter the following string in the text box:
*=info: com.ibm.j2ca.RAIMSTM=finest
You can combine the string with others to enable tracing in
other components.
- Click OK, If you are making changes
on the Configuration tab, click Save at
the top of the page to save the changes to the master configuration.
- Run your Java™ application
and then examine the trace file.