Mercurial > hg > nginx-site
changeset 430:570b312367bd
Documented the context of request logging.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Tue, 28 Feb 2012 07:53:40 +0000 |
parents | 2b9507b2cdf3 |
children | 0412333658fe |
files | xml/en/docs/http/ngx_http_log_module.xml xml/ru/docs/http/ngx_http_log_module.xml |
diffstat | 2 files changed, 15 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_log_module.xml Tue Feb 28 07:46:43 2012 +0000 +++ b/xml/en/docs/http/ngx_http_log_module.xml Tue Feb 28 07:53:40 2012 +0000 @@ -13,6 +13,13 @@ in the specified format. </para> +<para> +Requests are logged in a context of a location where processing ends. +This may be different from the original location, if an +<link doc="ngx_http_core_module.xml" id="internal">internal +redirect</link> happens during request processing. +</para> + </section>
--- a/xml/ru/docs/http/ngx_http_log_module.xml Tue Feb 28 07:46:43 2012 +0000 +++ b/xml/ru/docs/http/ngx_http_log_module.xml Tue Feb 28 07:53:40 2012 +0000 @@ -13,6 +13,14 @@ в указанном формате. </para> +<para> +Логи записываются в контексте location’а, где заканчивается обработка. +Это может быть location, отличный от первоначального, если в процессе +обработки запроса происходит +<link doc="ngx_http_core_module.xml" id="internal">внутреннее +перенаправление</link>. +</para> + </section>