See information about the latest product version
Switching Trace nodes on and off
Use the mqsichangetrace command or the WebSphere® Message Broker Explorer to switch Trace nodes on and off.
If the Trace node setting for an execution group is off, all Trace nodes in its flows are disabled. You can change the settings for Trace nodes in individual message flows; the settings are applied when you turn on Trace nodes for the execution group. If the Trace node setting for an execution group is on, the Trace node switch setting of each message flow determines the effective settings. Use the mqsireporttrace command to check the settings for message flows and execution groups.
Example: switching off Trace nodes for an execution group on distributed systems, using the command line
mqsichangetrace MB8BROKER –n off -e default
In
this example, -n off switches off Trace nodes in the default
execution group (-e default). All Trace nodes are switched off, even if the message flow that contains them has its Trace node switch set to on.
Example: switching off Trace nodes for an execution group on z/OS® systems, using the command line
F MQP1BRK,ct n='off', e='default'
In
this example, n='off' switches off Trace nodes in the default
execution group (e='default'). All Trace nodes are switched off, even if the message flow that contains them has its Trace node switch set to on.
Example: switching off Trace nodes for a message flow on distributed systems, using the command line
mqsichangetrace MB8BROKER -n off -e default -f myFlow
Example: switching on Trace nodes for a message flow and an execution group on distributed systems, using the command line
Example: switching off Trace nodes for a message flow on z/OS systems, using the command line
F MQP1BRK,ct n='off', e='default', f='myFlow'
Example: switching on Trace nodes for an execution group, using the WebSphere Message Broker Explorer
- In the Navigator view, expand the Brokers folder and right-click the execution group with which you want to work.
- Click An alert saying . Trace nodes are switched on is displayed in the Alert Viewer. The Trace node switch setting of each message flow determines the effective settings.
Example: switching on Trace nodes for a message flow, using the WebSphere Message Broker Explorer
- In the Navigator view, expand the Brokers folder and right-click the message flow with which you want to work.
- Click An alert is displayed in the Alert Viewer.