Mercurial > hg > nginx-site
diff xml/en/docs/http/ngx_http_log_module.xml @ 826:ddd22f571529
Variables $pipe, $request_length, $time_iso8601, and $time_local.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Fri, 01 Feb 2013 17:34:08 +0400 |
parents | 41363f013cc9 |
children | 9dab69f2b71d |
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_log_module.xml Wed Jan 30 19:52:12 2013 +0400 +++ b/xml/en/docs/http/ngx_http_log_module.xml Fri Feb 01 17:34:08 2013 +0400 @@ -10,7 +10,7 @@ <module name="Module ngx_http_log_module" link="/en/docs/http/ngx_http_log_module.html" lang="en" - rev="7"> + rev="8"> <section id="summary"> @@ -195,38 +195,21 @@ <tag-name><var>$bytes_sent</var></tag-name> <tag-desc> the number of bytes sent to a client -<note> -Since versions 1.3.8 and 1.2.5 there is a common variable with the -<link doc="ngx_http_core_module.xml" id="var_bytes_sent">same name</link>. -</note> </tag-desc> <tag-name><var>$connection</var></tag-name> <tag-desc> connection serial number -<note> -Since versions 1.3.8 and 1.2.5 there is a common variable with the -<link doc="ngx_http_core_module.xml" id="var_connection">same name</link>. -</note> </tag-desc> <tag-name><var>$connection_requests</var></tag-name> <tag-desc> the current number of requests made through a connection (1.1.18) -<note> -Since versions 1.3.8 and 1.2.5 there is a common variable with the -<link doc="ngx_http_core_module.xml" id="var_connection_requests">same -name</link>. -</note> </tag-desc> <tag-name><var>$msec</var></tag-name> <tag-desc> time in seconds with a milliseconds resolution at the time of log write -<note> -Since versions 1.3.9 and 1.2.6 there is a common variable with the -<link doc="ngx_http_core_module.xml" id="var_msec">same name</link>. -</note> </tag-desc> <tag-name><var>$pipe</var></tag-name> @@ -245,19 +228,11 @@ request processing time in seconds with a milliseconds resolution; time elapsed between the first bytes were read from the client and the log write after the last bytes were sent to the client -<note> -Since versions 1.3.9 and 1.2.6 there is a common variable with the -<link doc="ngx_http_core_module.xml" id="var_request_time">same name</link>. -</note> </tag-desc> <tag-name><var>$status</var></tag-name> <tag-desc> response status -<note> -Since versions 1.3.2 and 1.2.2 there is a common variable with the -<link doc="ngx_http_core_module.xml" id="var_status">same name</link>. -</note> </tag-desc> <tag-name><var>$time_iso8601</var></tag-name> @@ -271,6 +246,33 @@ </tag-desc> </list> + +<note> +In modern versions of nginx variables +<link doc="ngx_http_core_module.xml" id="var_status">$status</link> +(1.3.2, 1.2.2), +<link doc="ngx_http_core_module.xml" id="var_bytes_sent">$bytes_sent</link> +(1.3.8, 1.2.5), +<link doc="ngx_http_core_module.xml" id="var_connection">$connection</link> +(1.3.8, 1.2.5), +<link doc="ngx_http_core_module.xml" id="var_connection_requests">$connection_requests</link> +(1.3.8, 1.2.5), +<link doc="ngx_http_core_module.xml" id="var_msec">$msec</link> +(1.3.9, 1.2.6), +<link doc="ngx_http_core_module.xml" id="var_request_time">$request_time</link> +(1.3.9, 1.2.6), +<link doc="ngx_http_core_module.xml" id="var_pipe">$pipe</link> +(1.3.12), +<link doc="ngx_http_core_module.xml" id="var_request_length">$request_length</link> +(1.3.12), +<link doc="ngx_http_core_module.xml" id="var_time_iso8601">$time_iso8601</link> +(1.3.12), +and +<link doc="ngx_http_core_module.xml" id="var_time_local">$time_local</link> +(1.3.12) +are also available as common variables. +</note> + </para> <para>