From e7d298f3fc79785d22a1227b3c140529a6356fff Mon Sep 17 00:00:00 2001 From: Vladimir Homutov Date: Mon, 26 Oct 2015 19:06:42 +0300 Subject: Syslog: added "nohostname" option. 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). --- src/core/ngx_syslog.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/core/ngx_syslog.h') diff --git a/src/core/ngx_syslog.h b/src/core/ngx_syslog.h index a9150516f..cc4c842c7 100644 --- a/src/core/ngx_syslog.h +++ b/src/core/ngx_syslog.h @@ -16,7 +16,8 @@ typedef struct { ngx_addr_t server; ngx_connection_t conn; - ngx_uint_t busy; /* unsigned busy:1; */ + unsigned busy:1; + unsigned nohostname:1; } ngx_syslog_peer_t; -- cgit