Skip to main content
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 xorlab. 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 xorlab 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.

Audit trail events

Audit events, numbered from 2000 to 2999, capture user interactions and administrative actions within the XCC web interface.

Result publication tracing events

Result publication tracing events, numbered from 3000 to 3999, capture result synchronization and publication flow.

Threat analysis events

Threat analysis events, numbered from 4000 to 4999, record details about detected threats and threat intelligence attributes.

Other events

Other events, numbered from 9000 to 9999, include miscellaneous or maintenance-related events.