Skip to main content

Log detailed email results

Records the complete result of the email analysis in JSON format to a remote Syslog server. For a step-by-step Syslog guide, see Enable Logging via Syslog.
  • Event: trace.msg_analysis.complete
  • Container: MTA core
  • File Path: activeguard/core/logback-audit.xml
  • Appender: SyslogAppender
  • Formatting: %coreJsonMsg%n
File Path: activeguard/core/logback-audit.xml

Log audit events

Send audit events in JSON format to a remote Syslog server each time a user does an action in the XCC web interface. For a step-by-step Syslog guide, see Enable Logging via Syslog.
  • Event: audit (includes sub-categories)
  • Container: XCC backend
  • File path: xcc/backend/logback-audit.xml
  • Appender: SyslogAppender
  • Formatting: %jsonMsg%n
File Path: xcc/backend/logback-audit.xml
In order to also log successful and failed logins, configure auth/auth/logback-audit.xml as well with the same parameters as above.

Log SMTP email traces

Send a JSON message when an email has been accepted through SMTP and another when a delivery attempt has been made. For a step-by-step Syslog guide, see Enable Logging via Syslog.
  • Events: trace.mta.received, trace.mta.send
  • Container: Mta
  • File path: activeguard/mta/audit/logback-audit.xml
  • Appender: syslogAppender
  • Format: %jsonMsg%n
File Path: activeguard/mta/audit/logback-audit.xml
How to log all SMTP logsIf you want to log the complete SMTP log and not only the send and receive events, then replace the name of the first logger with trace.mta and remove the second logger completely.
If you want to correlate the SMTP queue ID from the two events above with the GGRID, you can additionally activate the following log event.
  • Event: trace.msg_delivered
  • Container: Core
  • File path: activeguard/core/logback-audit.xml
  • Appender: syslogAppender
  • Format: %jsonMsg%n
File Path: activeguard/core/logback-audit.xml

Log detailed email results per verdict

The following configuration ensures that a JSON message is sent each time a verdict is made on an email. This setup is particularly useful in scenarios where:
  • An email initially appears legitimate and is delivered to the user, but
  • A delayed or offline Sandbox scan later updates the verdict from benign to malicious.
In such cases, the configuration below would generate two separate JSON messages for the same email—one for each verdict, reflecting the change in status.
  • Event: trace.msg_verdict
  • Container: Core
  • File path: activeguard/core/logback-audit.xml
  • Appender: syslogAppender
  • Format: %coreJsonMsg%n
File Path: activeguard/core/logback-audit.xml

Log threat intelligence

The following configuration will write one JSON message for every domain threat intelligence event into a local file and also logs the event over syslog:
  • Event: ti.domain
  • Container: Backend
  • File path: xcc/backend/logback-audit.xml
  • Appenders: syslogAppender, RollingFileAppender
  • Format: %jsonMsg%n
xorlab on-prem onlyWriting to local files is only supported for xorlab on-premises.
File Path: xcc/backend/logback-audit.xml