changeset 771:47ad88faaa3f

$msec and $request_time have become generic variables in 1.3.9.
author Ruslan Ermilov <ru@nginx.com>
date Thu, 22 Nov 2012 12:41:16 +0000
parents a879f261f3db
children ce121bf644f5
files xml/en/docs/http/ngx_http_core_module.xml xml/en/docs/http/ngx_http_log_module.xml xml/ru/docs/http/ngx_http_core_module.xml xml/ru/docs/http/ngx_http_log_module.xml
diffstat 4 files changed, 42 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_core_module.xml	Tue Nov 20 06:52:11 2012 +0000
+++ b/xml/en/docs/http/ngx_http_core_module.xml	Thu Nov 22 12:41:16 2012 +0000
@@ -10,7 +10,7 @@
 <module name="Module ngx_http_core_module"
         link="/en/docs/http/ngx_http_core_module.html"
         lang="en"
-        rev="11">
+        rev="12">
 
 <section id="directives" name="Directives">
 
@@ -2789,6 +2789,11 @@
 see <link id="limit_rate"/>
 </tag-desc>
 
+<tag-name id="var_msec"><var>$msec</var></tag-name>
+<tag-desc>
+current time in seconds with a milliseconds resolution (1.3.9)
+</tag-desc>
+
 <tag-name id="var_nginx_version"><var>$nginx_version</var></tag-name>
 <tag-desc>
 nginx version
@@ -2883,6 +2888,12 @@
 “<literal>GET</literal>” or “<literal>POST</literal>”
 </tag-desc>
 
+<tag-name id="var_request_time"><var>$request_time</var></tag-name>
+<tag-desc>
+request processing time in seconds with a milliseconds resolution (1.3.9);
+time elapsed since the first bytes were read from the client
+</tag-desc>
+
 <tag-name id="var_request_uri"><var>$request_uri</var></tag-name>
 <tag-desc>
 full original request URI (with arguments)
--- a/xml/en/docs/http/ngx_http_log_module.xml	Tue Nov 20 06:52:11 2012 +0000
+++ b/xml/en/docs/http/ngx_http_log_module.xml	Thu Nov 22 12:41:16 2012 +0000
@@ -10,7 +10,7 @@
 <module name="Module ngx_http_log_module"
         link="/en/docs/http/ngx_http_log_module.html"
         lang="en"
-        rev="4">
+        rev="5">
 
 <section id="summary">
 
@@ -167,6 +167,10 @@
 <tag-name><var>$msec</var></tag-name>
 <tag-desc>
 time in seconds with a milliseconds resolution at the time of log write
+<note>
+Since version 1.3.9 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>
@@ -185,6 +189,10 @@
 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 version 1.3.9 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>
--- a/xml/ru/docs/http/ngx_http_core_module.xml	Tue Nov 20 06:52:11 2012 +0000
+++ b/xml/ru/docs/http/ngx_http_core_module.xml	Thu Nov 22 12:41:16 2012 +0000
@@ -10,7 +10,7 @@
 <module name="Модуль ngx_http_core_module"
         link="/ru/docs/http/ngx_http_core_module.html"
         lang="ru"
-        rev="11">
+        rev="12">
 
 <section id="directives" name="Директивы">
 
@@ -2776,6 +2776,11 @@
 передачи ответа, см. <link id="limit_rate"/>
 </tag-desc>
 
+<tag-name id="var_msec"><var>$msec</var></tag-name>
+<tag-desc>
+текущее время в секундах с точностью до миллисекунд (1.3.9)
+</tag-desc>
+
 <tag-name id="var_nginx_version"><var>$nginx_version</var></tag-name>
 <tag-desc>
 версия nginx
@@ -2868,6 +2873,12 @@
 “<literal>GET</literal>” или “<literal>POST</literal>”
 </tag-desc>
 
+<tag-name id="var_request_time"><var>$request_time</var></tag-name>
+<tag-desc>
+время обработки запроса в секундах с точностью до миллисекунд (1.3.9);
+время, прошедшее с момента чтения первых байт от клиента
+</tag-desc>
+
 <tag-name id="var_request_uri"><var>$request_uri</var></tag-name>
 <tag-desc>
 первоначальный URI запроса целиком (с аргументами)
--- a/xml/ru/docs/http/ngx_http_log_module.xml	Tue Nov 20 06:52:11 2012 +0000
+++ b/xml/ru/docs/http/ngx_http_log_module.xml	Thu Nov 22 12:41:16 2012 +0000
@@ -10,7 +10,7 @@
 <module name="Модуль ngx_http_log_module"
         link="/ru/docs/http/ngx_http_log_module.html"
         lang="ru"
-        rev="4">
+        rev="5">
 
 <section id="summary">
 
@@ -167,6 +167,10 @@
 <tag-name><var>$msec</var></tag-name>
 <tag-desc>
 время в секундах с точностью до миллисекунд на момент записи в лог
+<note>
+Начиная с версии 1.3.9 существует общая переменная с
+<link doc="ngx_http_core_module.xml" id="var_msec">тем же именем</link>.
+</note>
 </tag-desc>
 
 <tag-name><var>$pipe</var></tag-name>
@@ -184,6 +188,10 @@
 время обработки запроса в секундах с точностью до миллисекунд;
 время, прошедшее с момента чтения первых байт от клиента до
 момента записи в лог после отправки последних байт клиенту
+<note>
+Начиная с версии 1.3.9 существует общая переменная с
+<link doc="ngx_http_core_module.xml" id="var_request_time">тем же именем</link>.
+</note>
 </tag-desc>
 
 <tag-name><var>$status</var></tag-name>