# mod\_syslog

Source: https://zotonic.com/docs/2252/mod_syslog

URI: https://zotonic.com/id/2252

Language: en



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`).

License: 

Attribution: 

Related resources: https://zotonic.com/api/agent/related/2252?language=en


## API access

- [API help](<https://zotonic.com/api-help>)
- [OpenAPI specification](<https://zotonic.com/openapi.json>)
- [This resource as JSON](<https://zotonic.com/api/agent/resource/2252?language=en>)
