Search This Blog

Monday, August 31, 2009

MQSeries - enable trace

To Enable WebSphere MQ tracing by executing the following command.
On Windows (Win32) systems: strmqtrc -t api -l 5
On Linux systems: strmqtrc -e -t api -l 5

The strmqtrc tool can be found under the bin directory located under the main MQ
installation directory.

To Stop tracing by executing the command below.
On Windows (Win32) systems: endmqtrc
On Linux systems: endmqtrc -a

The WebSphere MQ trace logs can be found under the (MQ_HOME)\trace directory ,(on AIX its under /var/mqm/trace)
and are all the files that end with extension ".TRC"

i just found a good article how to set trace and decode it
Tracing WebSphere MQ

enjoy
YanivT

No comments: