changeset 673:f2d8603813b0

Documented the "rewrite_log" directive.
author Vladimir Homutov <vl@nginx.com>
date Thu, 06 Sep 2012 06:41:24 +0000
parents 8e1538faeacb
children c48c0936b4df
files xml/en/docs/http/ngx_http_rewrite_module.xml xml/ru/docs/http/ngx_http_rewrite_module.xml
diffstat 2 files changed, 34 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_rewrite_module.xml	Thu Sep 06 06:14:17 2012 +0000
+++ b/xml/en/docs/http/ngx_http_rewrite_module.xml	Thu Sep 06 06:41:24 2012 +0000
@@ -324,6 +324,23 @@
 </directive>
 
 
+<directive name="rewrite_log">
+<syntax><literal>on</literal> | <literal>off</literal></syntax>
+<default>off</default>
+<context>http</context>
+<context>server</context>
+<context>location</context>
+<context>if</context>
+
+<para>
+Enables or disables logging of <literal>ngx_http_rewrite_module</literal>
+module directives processing to the error log at
+the <literal>notice</literal> level.
+</para>
+
+</directive>
+
+
 <directive name="set">
 <syntax><value>variable</value> <value>value</value></syntax>
 <default/>
--- a/xml/ru/docs/http/ngx_http_rewrite_module.xml	Thu Sep 06 06:14:17 2012 +0000
+++ b/xml/ru/docs/http/ngx_http_rewrite_module.xml	Thu Sep 06 06:41:24 2012 +0000
@@ -322,6 +322,23 @@
 </directive>
 
 
+<directive name="rewrite_log">
+<syntax><literal>on</literal> | <literal>off</literal></syntax>
+<default>off</default>
+<context>http</context>
+<context>server</context>
+<context>location</context>
+<context>if</context>
+
+<para>
+Включает или выключает журналирование обработки директив модуля
+<literal>ngx_http_rewrite_module</literal> в лог-файл ошибок на
+уровне <literal>notice</literal>.
+</para>
+
+</directive>
+
+
 <directive name="set">
 <syntax><value>переменная</value> <value>значение</value></syntax>
 <default/>