Clearing old information from trace files

If the component that you are tracing has stopped, you can delete its trace files from the log subdirectory of the WebSphere Message Broker home directory.

If you are tracing an execution group, you can use the -r parameter of the mqsichangetrace command to reset (clear) the trace log (the -r parameter can be specified only if you specify the -e parameter). You might do this, for example, when you start a new trace to ensure that all the records on the log are unique to the new trace.

Example: clearing the user trace log for the default execution group

To clear the user trace log for the default execution group, on distributed systems, enter the command: mqsichangetrace WBRK_BROKER -u -e default -r where:

WBRK_BROKER specifies the name of the broker
-u specifies user trace
-e specifies the execution group (in this case the default execution group)
-r clears the trace log

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

Related concepts
Trace