[PATCH] Documented $r->log_error() logging level
Maxim Dounin
mdounin at mdounin.ru
Sun Jun 16 03:54:53 UTC 2024
# HG changeset patch
# User Maxim Dounin <mdounin at mdounin.ru>
# Date 1718393731 -10800
# Fri Jun 14 22:35:31 2024 +0300
# Node ID 23b9cbb0c11de936ca3bca0c1c67528f7ba0fd51
# Parent 7b7dbaa7d777cd8cacaebb177d76559f84736b94
Documented $r->log_error() logging level.
diff --git a/xml/en/docs/http/ngx_http_perl_module.xml b/xml/en/docs/http/ngx_http_perl_module.xml
--- 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>
diff --git a/xml/ru/docs/http/ngx_http_perl_module.xml b/xml/ru/docs/http/ngx_http_perl_module.xml
--- 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>
More information about the nginx-devel
mailing list