The CICS® Transaction Gateway statistics API provides several levels of diagnostic trace information.
Each level automatically includes all the detail provided by the lower levels. For example, CTG_STAT_TRACE_LEVEL2 indicates that all events and exceptions will be traced.
Trace level | Output details |
---|---|
CTG_STAT_TRACE_LEVEL0 | No trace output. |
CTG_STAT_TRACE_LEVEL1 | Exceptions only. |
CTG_STAT_TRACE_LEVEL2 | Events. |
CTG_STAT_TRACE_LEVEL3 | Entries and exits. |
CTG_STAT_TRACE_LEVEL4 | Debug information. |
The default trace destination is stderr. Use the function setAPITraceFile to choose a different trace destination.