This is not the notification system your end users see. Quarantine digests, banners, and release notifications are templates, configured under Notifications Overview.
Configure the appender
- In the Expert Editor, go to the directory of the container that emits your event, listed in How Logging Works.
-
Open
logback-audit.xml, or create it if it does not exist yet. -
Add the appender and the logger. The mail is relayed differently depending on which component sends it, so pick the tab that matches your event’s container:
- MTA (Core container)
- XCC (Backend container)
Relays through the local MTA on its internal port, so no TLS is involved.activeguard/core/logback-audit.xml -
Set
host.nameto the domain of your xorlab, andsmtpHostaccordingly. -
Set
to,subjectandpatternto the recipient and the message body you want.%dis the timestamp,%jsonMsgthe whole event, and%logArg{key}a single field from it. The full list is in Format Converters. -
Set
logger nameto the event you chose. - Click Publish. The logging configuration becomes active within about one minute.
- Trigger the event once and confirm the mail arrives: Verify and Troubleshoot Logging.
Common use: approve release requests by mail
The Backend example above logsaudit.quarantine.release.request.created, which is the event behind the Self-Service Quarantine release workflow. The approver gets a mail with a direct link to the message instead of having to watch a queue in XCC. See Enable Release Requests for the rest of that setup.