Mercurial > hg > nginx-site
changeset 1572:8df0327a1c87
The "severity" syslog parameter is not supported in "error_log".
The problem appeared in 4e89518a5999 when all syslog descriptions were merged
into one.
author | Vladimir Homutov <vl@nginx.com> |
---|---|
date | Tue, 22 Sep 2015 17:43:31 +0300 |
parents | ad1e00b7b1c4 |
children | 21138bfbaf5f |
files | xml/en/docs/syslog.xml xml/ru/docs/syslog.xml |
diffstat | 2 files changed, 8 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/xml/en/docs/syslog.xml +++ b/xml/en/docs/syslog.xml @@ -9,7 +9,7 @@ <article name="Logging to syslog" link="/en/docs/syslog.html" lang="en" - rev="2"> + rev="3"> <section> @@ -58,6 +58,9 @@ as defined in Possible values are the same as for the second parameter (level) of the <link doc="ngx_core_module.xml" id="error_log"/> directive. Default is “<literal>info</literal>”. +<note>Severity of error messages is determined by nginx, thus the parameter +is ignored in the <literal>error_log</literal> directive. +</note> </tag-desc> <tag-name><literal>tag=</literal><value>string</value></tag-name>
--- a/xml/ru/docs/syslog.xml +++ b/xml/ru/docs/syslog.xml @@ -9,7 +9,7 @@ <article name="Запись в syslog" link="/ru/docs/syslog.html" lang="ru" - rev="2"> + rev="3"> <section> @@ -59,6 +59,9 @@ Возможны те же самые значения, что и у второго параметра (уровень) директивы <link doc="ngx_core_module.xml" id="error_log"/>. По умолчанию используется “<literal>info</literal>”. +<note>Важность сообщений об ошибках определяется самим nginx, поэтому +в директиве <literal>error_log</literal> параметр игнорируется. +</note> </tag-desc> <tag-name><literal>tag=</literal><value>строка</value></tag-name>