Tracing

 


 

Overview

To enable tracing, use strmqtrc. To stop tracing, use endmqtrc.

You can display formatted trace output using dspmqtrc.

 

Selective component tracing

Use the -t and -x options to control the amount of trace detail to record. By default, all trace points are enabled. The -x option enables you to specify the points you do not want to trace. So if, for example, you want to trace, for queue manager VANCOUVER, only output data associated with using SSL channel security, use:

strmqtrc -m VANCOUVER -t ssl 

 

Trace files

All trace files are created in the directory /var/mqm/trace.

You can accommodate production of large trace files by mounting a temporary file system over this directory.

SSL trace files have the names AMQ.SSL.TRC and AMQ.SSL.TRC.1. You cannot format SSL trace files; send them unchanged to IBM support.

Non-SSL trace-file names have the name AMQppppp.TRC, where ppppp is the PID of the process producing the trace.

 

Tracing SSL on UNIX systems

On UNIX systems, you can request trace information for either iKeyman, the SSL functions, or both:

To request iKeyman tracing, execute the gsk6ikm command with the -D flag:

gsk6ikm -Dkeyman.debug=true

iKeyman writes three trace files to the directory from which you start it, so consider starting iKeyman from the /var/mqm/trace" directory. The trace files iKeyman generates are:

ikmgdbg.log
Java related trace

ikmjdbg.log
JNI related trace

ikmcdbg.log
C related trace

 

IBM is a trademark of the IBM Corporation in the United States, other countries, or both.