Share this page 

Turn on MQ Debug mode Tag(s): IO


Websphere MQ exposes many properties to control debugging inforation output. See this document.

When starting the JRE, set the properties on the command line. For example :


-Dcom.ibm.msg.client.commonservices.trace.status=ON

-Dcom.ibm.msg.client.commonservices.trace.outputName=C:\myapps\logs\mq.log

will make the MQ client to produce a log with a lot of information.

Version information in main body of trace

TimeStamp        TID   ObjectId   Class                                                                                      Data

======================================================================================================================================================================

15:04:32.833.00  0001     static  c.i.m.c.commonservices.trace.Trace                                       d  setOn(boolean) Enabled trace  (thread '0001'='main' priority=5 group=main sun.misc.Launcher$AppClassLoader@14fe5c)

15:04:32.833.01  0001     static  c.i.m.c.commonservices.componentmanager.ComponentManager                 d  getter getInstance() [c.i.m.c.commonservices.componentmanager.ComponentManager@14a18d]

15:04:32.833.02  0001  @14a18d    c.i.m.c.commonservices.componentmanager.ComponentManager(ComponentMan    {  getComponents(HashMap) 

...