mod_syslog

Syslog integration module for forwarding Zotonic access logs to external syslog services.

This module subscribes to $SYS/site/<name>/log/access and sends access log events to syslog.

It uses the following node-wide Zotonic configuration options:

  • syslog_ident: The ident used to open the syslog port. It will be prepended to each message. Default: zotonic.
  • syslog_opts: The options used to open the syslog port. Default: [ndelay].
  • syslog_facility: The facility part of the priority. Default: local0.
  • syslog_level: The level part of the priority. Default: info.

For more information, see the Erlang syslog module documentation at https://github.com/Vagabond/erlang-syslog and your system's syslog manual (man 3 syslog).

Edit on GitHub