You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
server=address Defines an address of a syslog server. An address can be specified as a domain name or IP address, and an optional port, or as a UNIX-domain socket path specified after the unix: prefix. If port is not specified, the port 514 is used. If a domain name resolves to several IP addresses, the first resolved address is used.
facility=string Sets facility of syslog messages, as defined in RFC 3164. Facility can be one of kern, user, mail, daemon, auth, intern, lpr, news, uucp, clock, authpriv, ftp, ntp, audit, alert, cron, local0..local7. Default is local7.
severity=string Sets severity of syslog messages, as defined in RFC 3164. Possible values are the same as for the second parameter (level) of the error_log directive. Default is info. Only for access_log directive.
tag=string Sets tag of syslog messages. Default is nginx.
See examples within official documentation.
The text was updated successfully, but these errors were encountered:
I'm now the maintainer of tengine (http://tengine.taobao.org/), it's a fork of nginx and it can support the syslog natively. It's all opensource and free. Would you like to have a try with tengine?
Syslog feature is available as part of commercial subscription and documented in official documentation at http://nginx.org/en/docs/http/ngx_http_log_module.html and http://nginx.org/en/docs/ngx_core_module.html#error_log.
It will be nice, if this community patch uses same
access_log
anderror_log
directive syntax as described in official documentation.That is:
where parameters are:
server=address
Defines an address of a syslog server. An address can be specified as a domain name or IP address, and an optional port, or as a UNIX-domain socket path specified after theunix:
prefix. If port is not specified, the port 514 is used. If a domain name resolves to several IP addresses, the first resolved address is used.facility=string
Sets facility of syslog messages, as defined in RFC 3164. Facility can be one ofkern
,user
,mail
,daemon
,auth
,intern
,lpr
,news
,uucp
,clock
,authpriv
,ftp
,ntp
,audit
,alert
,cron
,local0
..local7
. Default islocal7
.severity=string
Sets severity of syslog messages, as defined in RFC 3164. Possible values are the same as for the second parameter (level) of theerror_log
directive. Default isinfo
. Only foraccess_log
directive.tag=string
Sets tag of syslog messages. Default isnginx
.See examples within official documentation.
The text was updated successfully, but these errors were encountered: