Starting trace
About this task
To turn on the trace service:Procedure
- In the Navigator view, right-click IBM MQ, then click Trace....
- In the Trace dialog, select one or more of the following
options:
- To output data for every trace point in the system, click All.
- To activate tracing at high-detail level for flow processing trace points, click Detail.
- Click Start.
Results
The IBM MQ trace starts writing information to the trace files. IBM MQ continues to write to the trace files until you stop the trace.Stopping trace
About this task
To turn off the trace service:
Procedure
- In the Navigator view, right-click IBM MQ, then click Trace....
- Click Stop.
Results
The IBM MQ trace stops writing to the trace files.
View trace files
About this task
We can find the local trace files in the trace subdirectory of the directory that was chosen during the installation for data files. If we installed to the default directories, the trace directory is in the IBM MQ program installation directory.
The files in the trace directory have names like AMQ123.TRC where 123 is the PID of the process that wrote the file. We can view the files using any viewer that can display a simple ASCII file.