diff options
author | Vladimir Homutov <vl@nginx.com> | 2015-10-26 19:06:42 +0300 |
---|---|---|
committer | Vladimir Homutov <vl@nginx.com> | 2015-10-26 19:06:42 +0300 |
commit | e7d298f3fc79785d22a1227b3c140529a6356fff (patch) | |
tree | 804f3b3eaa0ccc6ed562c8c343da97450940931d /src/core/ngx_syslog.h | |
parent | 090c4710323209caacf26c6393200975fe2d0038 (diff) |
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).
Diffstat (limited to 'src/core/ngx_syslog.h')
-rw-r--r-- | src/core/ngx_syslog.h | 3 |
1 files changed, 2 insertions, 1 deletions
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; |