Changing user trace options

Use the mqsichangetrace command to change the trace options that you have set. You can also use the workbench to change the trace options for execution groups and assigned message flows.

Example: changing user trace from normal to debug

To change from a normal level of user trace to a debug level on the default execution group of a broker called WBRK_BROKER, on distributed systems, enter the command
mqsichangetrace WBRK_BROKER -u -e default -l debug
where:

-u specifies user trace
-e specifies the execution group (in this case, the default execution group)
-l specifies the level of trace (in this case, changing it to debug)

On z/OS, enter the command
F MQP1BRK,ct u=yes, e='default', l=debug

Example: changing user trace from normal to debug from the workbench

To change from a normal level of user trace to a debug level for one of your message flows from the workbench:

  1. Switch to the Broker Administration perspective.
  2. In the Domains view, right-click the message flow for which you want to change trace.
  3. Click User trace > Debug.

An alert saying Message Flow is tracing at level 'debug' is displayed in the Alert Viewer.

Related concepts
Trace