Retrieving user trace

Use the mqsireadlog command to access the trace information that is recorded by the user trace facilities.

Procedure

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 user trace information in XML format

Procedure

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

mqsireadlog IBNODE -u -e default -o trace.xml

where:
-u specifies user trace
-e specifies the integration server (in this case, the default integration server)
-o specifies the output file (in this case, trace.xml)

Results

This sends a log request to the integration node to retrieve the user trace log, and stores the responses in the trace.xml file. The trace.xml file is created in the directory in which the command was run. You can view this file using a plain text editor.