summaryrefslogtreecommitdiffhomepage
path: root/src/core/ngx_syslog.h (follow)
AgeCommit message (Collapse)AuthorFilesLines
2018-05-14Syslog: install cleanup handler only once.Vladimir Homutov1-1/+0
If a socket was re-opened due to an error (02c2352d5b01 and fa0e093b64d7), additional cleanup handler was installed each time.
2015-10-26Syslog: added "nohostname" option.Vladimir Homutov1-1/+2
The option disables sending hostname in the syslog message header. This is useful with syslog daemons that do not expect it (tickets #677 and #783).
2014-09-01Syslog: enabled logging of send errors.Vladimir Homutov1-1/+1
The ngx_cycle->log is used when sending the message. This allows to log syslog send errors in another log. Logging to syslog after its cleanup handler has been executed was prohibited. Previously, this was possible from ngx_destroy_pool(), which resulted in error messages caused by attempts to write into the closed socket. The "processing" flag is renamed to "busy" to better match its semantics.
2014-05-12Added syslog support for error_log and access_log directives.Vladimir Homutov1-0/+30