Tracing Methods
Trace identifiers can be specified in different ways to generate the same trace data. For example, each of the following trace settings specifies tracing for error data (ER) and warning messages (WR) while excluding all other trace data:
• ERWR
• ER+WR
• +ER+WR
• -ALL+ER+WR
• ALL-DA-EV-EX-HO-IB-ME-OB-RS-TR
When using the ALL trace identifier with other identifiers, you should include plus (+) or minus (-) signs to help clarify the selections. Plus signs are optional when specifying trace identifiers without using the ALL identifier. If no sign is present, inclusion of the specified trace identifier is assumed.
Note: The order of the trace identifiers is significant when using the minus (-) prefix. For example:
ERWR = ALL-DA-EV-EX-HO-IB-ME-OB-RS-TR
ALL = -DA-EV-EX-HO-IB-ME-OB-RS-TR+ALL
In the first example, the trace identifiers prefixed with a minus sign (-) are excluded from ALL, leaving only the non-excluded ER and WR trace identifiers. In the second example, the +ALL at the end takes precedence over the previously excluded trace identifiers.
Note: Trace identifiers are specified using Configuration-By-Forms (CBF), Configuration Manager (VCBF) and the SQL SET TRACE command as explained later in the chapter.