summaryrefslogtreecommitdiffhomepage
path: root/src/core/ngx_syslog.c (follow)
AgeCommit message (Collapse)AuthorFilesLines
2016-03-30Style.Ruslan Ermilov1-3/+3
2015-10-26Syslog: added "nohostname" option.Vladimir Homutov1-0/+8
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-11-20Syslog: allowed underscore symbol in tag (ticket #667).Vladimir Homutov1-2/+3
2014-08-26Syslog: improved error handling of unix domain sockets.Vladimir Homutov1-2/+24
If a syslog daemon is restarted and the unix socket is used, further logging might stop to work. In case of send error, socket is closed, forcing a reconnection at the next logging attempt.
2014-09-01Syslog: enabled logging of send errors.Vladimir Homutov1-4/+9
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-27Syslog: fixed message sending on win32.Vladimir Homutov1-0/+4
2014-05-26Syslog: fixed possible resource leak and more verbose logging.Vladimir Homutov1-12/+22
Found by Coverity (CID 1215646).
2014-05-12Added syslog support for error_log and access_log directives.Vladimir Homutov1-0/+332