Tracing is an optional debugging feature you can turn on to closely follow the connector or Event Listener's behavior. Tracing messages are configurable and can be changed dynamically. You set various levels depending on the desired detail. The following sections describe tracing for each component of the Exchange adapter.
Recommendation: Tracing should be turned off on a production system or set to the lowest possible level to improve performance and decrease file size.
Trace messages, by default, are written to STDOUT (screen). You can also configure tracing to write to a file.
Table 16 describes the types of tracing messages that the connector
outputs at each trace level. All the trace messages appear in the file
specified by the connector property TraceFileName. These messages are
in addition to any tracing messages output by the IBM WebSphere Business
Integration Adapter architecture.
Table 16. Tracing messages for the connector
Tracing level | Tracing messages |
---|---|
Level 0 | Message that identifies the connector version. No other tracing is done at this level. This is the default tracing level. |
Level 1 | Tracing messages include:
|
Level 2 | Business object handler messages that contain information about the arrays and child business objects the connector encounters or retrieves while processing a business object. |
Level 3 | Messages that provide information about business object processing. For example, these types of messages are delivered when the connector finds a match between business objects, or finds a specific business object in an array of business objects. |
Level 4 | Tracing messages include:
|
Level 5 | Tracing messages include:
|
Trace messages, by default, are written to the Windows Event Log
as Information events. Table 17 describes the types of tracing messages that the Event
Listener outputs at each trace level.
Table 17. Tracing messages for Event Listener
Tracing level | Tracing messages |
---|---|
Level 0 | The Event Listener identification message (for example, 2002/07/10 15:01:46.812: This is version 1.0 of the Exchange adapter). This message is always displayed the first time the event sink fires. |
Level 1 | Tracing messages include
|
Level 2 | Messages that indicate each time an email message is sent to the CwEvent user. |
Level 3 | Messages that display event-specific flags (for example, EVT_NEW_ITEM, EVT_COPY, or EVT_MOVE). |
Level 4 | Messages that display the Event Store field values. Fields include EventID, Event type, FolderURI, MessageURI, and Priority. |
Level 5 | Tracing messages include:
|