WebSphere Message Brokers
File: au14300_
Writer: Jane Brockbank

Task topic

This build: July 31, 2007 21:39:22

Retrieving service trace

Use the mqsireadlog command to access the trace information recorded by the service trace facilities.

This command retrieves the trace details according to parameters that you specify on the command, and writes the requested records to a file, or to the command line window, in XML format.

Example: retrieving service trace information in XML format

To retrieve information for the service trace activated with the mqsichangetrace command, and write it to an output file, on distributed systems, enter the command

mqsireadlog UserNameServer -t -b agent -f -o strace.xml

where:

-t specifies service trace
-b agent specifies that trace for the agent subcomponent of the specified component
is to be retrieved
-f specifies that the log file is to be read directly from the
file system (this flag is mandatory for service trace)
-o specifies the output file (in this case, strace.xml)

This sends a log request to the broker to retrieve the service trace log, and stores the responses in the file strace.xml. You can view this file using a plain text editor.

Related concepts
Trace
Notices | Trademarks | Downloads | Library | Support | Feedback

Copyright IBM Corporation 1999, 2007Copyright IBM Corporation 1999, 2007. All Rights Reserved.
This build: July 31, 2007 21:39:22

au14300_ This topic's URL is: