WebSphere Message Brokers
File: au14320_
Writer: Jane Brockbank

Task topic

This build: July 31, 2007 21:39:23

Interpreting trace

A formatted log file, like the one in Formatting trace, contains a sequence of WebSphere Message Broker messages that records the activity in a specific part of the system (the part that you identify when you start the trace). You can use this sequence to understand what is happening, and to check that the behavior that is recorded is what you are expecting.

For example, if you have activated message flow trace, you can see entries that record the path that a message takes through the message flow, and why decisions result in this path (where a choice is available).

If you see unexpected behavior in a message flow or execution group, use this trace information to check the actions that have been taken and identify the source of an error or other discrepancy.

The messages contain identifiers for the resources that are being traced, for example the execution groups and message flows. The identifier that is given is usually the label (the name) that you gave to the resource when you defined it.

Here is an extract from a user trace file. In the example, each column has been labelled:
Timestamp                 Thread ID Trace type  Message
2005-07-12 16:17:18.242605   5344   UserTrace   BIP2537I: Node 'Reply.MapToRequestor': 
                                                Executing statement   ''SET I = I + 1;''
                                                at ('.MapToRequestor.CopyMessageHeaders',
                                                '6.4'). 
2005-07-12 16:17:18.242605   5344   UserTrace   BIP2539I: Node 'Reply.MapToRequestor': 
                                                Evaluating expression ''I'' at 
                                                ('.MapToRequestor.CopyMessageHeaders', 
                                                '6.12'). This resolved to ''I''. The 
                                                result was ''1''. 
2005-07-12 16:17:18.242605   5344   UserTrace   BIP2539I: Node 'Reply.MapToRequestor': 
                                                Evaluating expression ''I + 1'' at 
                                                ('.MapToRequestor.CopyMessageHeaders',      
                                                '6.14'). This resolved to ''1 + 1''. 
                                                The result was ''2''. 
2005-07-12 16:17:18.242605   5344   UserTrace   BIP2566I: Node 'Reply.MapToRequestor': 
                                                Assigning value ''2'' to field / variable   
                                                ''I''. 
References such as '6.12' apply to the row and column number within a function that specify the location of the command that is being executed; in this case, row 6, column 12.
Related concepts
Trace
Related tasks
Troubleshooting and support
Using trace
Retrieving user trace
Retrieving service trace
Formatting trace
Resolving problems with user-defined extensions
Related reference
User trace
Service trace
Notices | Trademarks | Downloads | Library | Support | Feedback

Copyright IBM Corporation 1999, 2007Copyright IBM Corporation 1999, 2007. All Rights Reserved.
This build: July 31, 2007 21:39:23

au14320_ This topic's URL is: