Mercurial > hg > nginx-site
diff xml/en/docs/ngx_core_module.xml @ 1697:147e3d0339e8
Reduced syntax clutter in the error_log directive.
The description text explains special values like "stderr", "syslog:...",
and "memory:...". It is believed that syntax without explicitly listing
these variants is more readable.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Tue, 10 May 2016 15:19:47 +0300 |
parents | aa95174efa80 |
children | bde044a0bd90 |
line wrap: on
line diff
--- a/xml/en/docs/ngx_core_module.xml Thu Apr 28 17:27:44 2016 +0300 +++ b/xml/en/docs/ngx_core_module.xml Tue May 10 15:19:47 2016 +0300 @@ -10,7 +10,7 @@ <module name="Core functionality" link="/en/docs/ngx_core_module.html" lang="en" - rev="18"> + rev="19"> <section id="example" name="Example Configuration"> @@ -138,11 +138,7 @@ <directive name="error_log"> -<syntax> -<value>file</value> | <literal>stderr</literal> | -<literal>syslog:</literal><literal>server</literal>=<value>address</value>[,<value>parameter</value>=<value>value</value>] | -<literal>memory:</literal><value>size</value> -[<value>level</value>]</syntax> +<syntax><value>file</value> [<value>level</value>]</syntax> <default>logs/error.log error</default> <context>main</context> <context>http</context> @@ -157,7 +153,7 @@ </para> <para> -The first parameter defines a file that will store the log. +The first parameter defines a <value>file</value> that will store the log. <!-- If filename is not absolute, it is prefixed with the prefix path. -->