Skip to main content
This page focuses on the configuration of the <logger> element within the Logback framework. Each logger defines the events to be recorded and determines which appender(s) will handle the recording.
Remember to Configure the AppenderIn order to write logs, the logger element must be paired with at least one appender element.

Configuration

Name

The name attribute in a logger specifies the unique identifier for an event on XSP. It defines the scope and position of the event within the logging hierarchy, allowing precise control over logging behavior. Logger names follow a hierarchical structure, with each part of the name separated by dots, similar to a family tree. It is possible to only specify a prefix of an event as name. This will then log all events that start with this prefix. For example, name="sys" will log all sys events. Note that the only prefixes that are allowed are the ones derived from splitting the event name with a dot.
In this case, the logger named sys is the parent of sys.startup, sys.restart, sys.ready, and so on. All log events with names starting with sys are handled by the sys logger and its appenders, unless a more specific logger (like sys.startup) exists. It is also possible to specify only a prefix in the logger name to capture all events that start with that prefix. For example, setting name="sys" will log all sys events. Note that the only prefixes that are allowed are the ones derived from splitting the event name with a dot.

Severity

The severity attribute indicates the importance of a log event, with values ranging from 0-3 for low importance, 4-6 for medium, 7-8 for high, and 9-10 for very high importance. This helps prioritize monitoring and alerts, ensuring that the most critical issues are addressed quickly while still maintaining visibility over less urgent events.

Component

After identifying the log event you want to capture, refer to the Components column for the configuration file path. Configuration files are spread across directories because each XSP component operates independently, requiring separate logging setups.

System Events

System events, numbered from 0 to 999, cover basic system functions like startup, shutdown, and configuration changes.

Message-tracing events

Message-tracing events, numbered from 1000 to 1999, track the flow of emails and messages through the system. These are only supported by the MTA and Sandbox components.

Audit trail events

Audit events, numbered 2000 to 3999, capture user interactions and administrative actions within the XCC GUI. These events are not supported by the Sandbox or MTA components.

Threat analysis events

Threat analysis events, numbered from 4000 to 4999, record details about threats detected by the xorlab Security Platform, such as malicious emails and their attributes.

Other events

Other events, numbered from 9000 to 9999, include miscellaneous events, such as system deprecations or unspecific actions.