Mercurial > hg > nginx-site
diff xml/en/docs/syslog.xml @ 1589:be92e50c52ac
Documented the "nohostname" syslog option.
author | Vladimir Homutov <vl@nginx.com> |
---|---|
date | Thu, 29 Oct 2015 16:19:42 +0300 |
parents | 39744b9aba1b |
children | 54fa47139017 |
line wrap: on
line diff
--- a/xml/en/docs/syslog.xml Tue Oct 27 17:09:02 2015 +0300 +++ b/xml/en/docs/syslog.xml Thu Oct 29 16:19:42 2015 +0300 @@ -9,7 +9,7 @@ <article name="Logging to syslog" link="/en/docs/syslog.html" lang="en" - rev="3"> + rev="4"> <section> @@ -70,6 +70,11 @@ Default is “<literal>nginx</literal>”. </tag-desc> +<tag-name><literal>nohostname</literal></tag-name> +<tag-desc> +Disables adding the “hostname” field into the syslog message header (1.9.7). +</tag-desc> + <!-- <tag-name><literal>bare=</literal><literal>on</literal> | <literal>off</literal></tag-name> @@ -84,7 +89,7 @@ <example> error_log syslog:server=192.168.1.1 debug; -access_log syslog:server=unix:/var/log/nginx.sock; +access_log syslog:server=unix:/var/log/nginx.sock,nohostname; access_log syslog:server=[2001:db8::1]:12345,facility=local7,tag=nginx,severity=info combined; </example> </para>