This document covers the following topics:
See also Tracing for Broker Stubs.
To switch on tracing
Set the attribute TRACE-LEVEL
in the broker attribute file
for minimal trace output to "1"
for detailed trace output to "2"
for full trace output to "3"
Example:
TRACE-LEVEL=2
See also EntireX Broker Return Codes.
To switch off tracing
Set the attribute TRACE-LEVEL
in the broker attribute file to 0:
TRACE-LEVEL=0
Or:
Omit the TRACE-LEVEL
attribute.
It is not always convenient to run with
TRACE-LEVEL
defined, especially when higher
trace levels are involved. Deferred tracing is triggered when a specific
condition occurs, such as an ACI response code or a broker subtask abend.
Such conditions cause the contents of the trace buffer to be written, showing trace
information leading up the specified event. If the specified event does not
occur, the Broker trace will contain only startup and shutdown information
(equivalent to TRACE-LEVEL=0
).
Operating the trace in this mode requires the following additional attributes in the broker
section of the attribute file.
Values for TRBUFNUM
and TRAP-ERROR
are only examples.
Attribute | Value | Description |
---|---|---|
TRBUFNUM |
3 |
Specifies the deferred trace buffer size = 3 * 64 K. |
TRMODE |
WRAP |
Indicates trace is not written until an event occurs. |
TRAP-ERROR |
322 |
Assigns the event ACI response code 00780322 "PSI: UPDATE failed". |
The following methods are available to switch on or off the EntireX Broker trace dynamically. You do not need to restart the broker for the changes to take effect.
ETBCMD
Run command utility ETBCMD
with option -c TRACE-ON or - c TRACE-OFF
.
See ETBCMD
.
Operator Command
Issue an operator command. See TRACE
.
See also Deferred Tracing.