Mercurial > hg > nginx-site
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 +++ b/xml/en/docs/http/ngx_http_rewrite_module.xml @@ -324,6 +324,23 @@ in single or double quotes. </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 +++ b/xml/ru/docs/http/ngx_http_rewrite_module.xml @@ -322,6 +322,23 @@ rewrite ^/users/(.*)$ /show?user=$1? las </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/>