Skip to main content
Prerequisites
Follow these steps:
  1. Open the logback-audit.xml as created in Before You Begin.
  2. Add the following appender and logger:
    logback-audit.xml
  3. Adjust syslogHost and port to match your Syslog destination. For a list of all available attributes, see Available attributes.
  4. Optional: Adjust pattern to the chosen format as described in Before You Begin
  5. Adjust the logger name to match the event that you want to log.
  6. If you want to use TCP or TLS instead of UDP, follow below Use Syslog with TCP or TLS.
  7. Click Publish. The logging configuration becomes active within about one minute.

Use Syslog with TCP or TLS

To enable Syslog with TCP or TLS:
  1. Set protocol to either TCP or SSL.
  2. Add an AsyncAppender wrapper:
    logback-audit.xml
    AsyncAppender Adding an AsyncAppender is mandatory for TCP and TLS, otherwise xorlab might not work properly.

Available attributes

The following configuration parameters are supported by the syslog appender:

KeepAlive appender for timeout issues

The KeepAlive appender can be used to periodically trigger another appender to log a keep alive event. It’s main use case is together with the Syslog Appender to make sure the underlying TCP connection does not time out.
The KeepAlive appender is not required for normal operations. It is only used in special cases if there are underlying TCP related connection issues.