Partager via


Component Levels and Flags

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

Component levels control the types of messages that are recorded in the log file, by message severity. The flags control the types of messages that are recorded, by message type.

Component Levels

The following list contains the valid levels.

Level Constant Description

TL_FATAL

Log fatal errors only.

TL_ERROR

Log errors, including fatal errors.

TL_WARN

Log warnings and errors.

TL_INFO

Log informational messages, warnings, and errors.

TL_VERBOSE

Log trace messages, as well as informational messages, warnings and errors.

TL_NOISE

Log all messages.

Flags

The flags in the following list are valid for all Office Communications Server 2007 server components. Other components, including OC_Xxx, MediaStack_Xxx, and MediaRelay_Xxx components, define their own sets of flags and do not use the flags listed in this table.

Flag Constant Description

TF_COMPONENT

Log miscellaneous messages not covered by the other trace flag categories.

TF_PROTOCOL

Log protocol messages or data???SIP or CCCP messages. Other components can also log their text-based messages.

TF_CONNECTION

Log connection-related errors or warnings. Information on connections established to and from a particular component, and so on. This can also include significant network-level information for components that do not have the concept of a "connection."

Not available in the S4 component.

TF_SECURITY

Log all events or log entries related to security. For example, for SipStack, these include log security events such as domain validation failure and others, client authentication or authorization failures, and others.

Not available in the S4 component.

TF_DIAG

Log diagnostics events that can be used to diagnose or troubleshoot the component. For example, for SipStack, these include certificate failures or errors, or DNS warnings or errors.

Not available in the S4 component.