Mercurial > hg > nginx-site
changeset 3089:23b9cbb0c11d
Documented $r->log_error() logging level.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Fri, 14 Jun 2024 22:35:31 +0300 |
parents | 7b7dbaa7d777 |
children | 27532d42102b |
files | xml/en/docs/http/ngx_http_perl_module.xml xml/ru/docs/http/ngx_http_perl_module.xml |
diffstat | 2 files changed, 6 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_perl_module.xml +++ b/xml/en/docs/http/ngx_http_perl_module.xml @@ -10,7 +10,7 @@ <module name="Module ngx_http_perl_module" link="/en/docs/http/ngx_http_perl_module.html" lang="en" - rev="7"> + rev="8"> <section id="summary"> @@ -320,7 +320,8 @@ supports redirections to named locations <value>message</value>)</literal></tag-name> <tag-desc> writes the specified <value>message</value> into the -<link doc="../ngx_core_module.xml" id="error_log"/>. +<link doc="../ngx_core_module.xml" id="error_log"/> +at the <literal>error</literal> level. If <value>errno</value> is non-zero, an error code and its description will be appended to the message. </tag-desc>
--- a/xml/ru/docs/http/ngx_http_perl_module.xml +++ b/xml/ru/docs/http/ngx_http_perl_module.xml @@ -10,7 +10,7 @@ <module name="Модуль ngx_http_perl_module" link="/ru/docs/http/ngx_http_perl_module.html" lang="ru" - rev="7"> + rev="8"> <section id="summary"> @@ -320,7 +320,8 @@ 1; <value>сообщение</value>)</literal></tag-name> <tag-desc> записывает указанное <value>сообщение</value> в -<link doc="../ngx_core_module.xml" id="error_log"/>. +<link doc="../ngx_core_module.xml" id="error_log"/> +на уровне <literal>error</literal>. Если <value>код_ошибки</value> ненулевой, то к сообщению будет добавлен код ошибки и её описание. </tag-desc>