Mercurial > hg > nginx-site
comparison xml/en/docs/http/ngx_http_log_module.xml @ 1155:07402a11fd8d
Assigned IDs to tags describing variables.
author | Vladimir Homutov <vl@nginx.com> |
---|---|
date | Wed, 16 Apr 2014 13:55:53 +0400 |
parents | 1594ed379f1f |
children | 384bb0349a8a |
comparison
equal
deleted
inserted
replaced
1154:b0e56cc57867 | 1155:07402a11fd8d |
---|---|
8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> | 8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> |
9 | 9 |
10 <module name="Module ngx_http_log_module" | 10 <module name="Module ngx_http_log_module" |
11 link="/en/docs/http/ngx_http_log_module.html" | 11 link="/en/docs/http/ngx_http_log_module.html" |
12 lang="en" | 12 lang="en" |
13 rev="10"> | 13 rev="11"> |
14 | 14 |
15 <section id="summary"> | 15 <section id="summary"> |
16 | 16 |
17 <para> | 17 <para> |
18 The <literal>ngx_http_log_module</literal> module writes request logs | 18 The <literal>ngx_http_log_module</literal> module writes request logs |
266 <para> | 266 <para> |
267 The log format can contain common variables, and variables that | 267 The log format can contain common variables, and variables that |
268 exist only at the time of a log write: | 268 exist only at the time of a log write: |
269 <list type="tag"> | 269 <list type="tag"> |
270 | 270 |
271 <tag-name><var>$bytes_sent</var></tag-name> | 271 <tag-name id="var_bytes_sent"><var>$bytes_sent</var></tag-name> |
272 <tag-desc> | 272 <tag-desc> |
273 the number of bytes sent to a client | 273 the number of bytes sent to a client |
274 </tag-desc> | 274 </tag-desc> |
275 | 275 |
276 <tag-name><var>$connection</var></tag-name> | 276 <tag-name id="var_connection"><var>$connection</var></tag-name> |
277 <tag-desc> | 277 <tag-desc> |
278 connection serial number | 278 connection serial number |
279 </tag-desc> | 279 </tag-desc> |
280 | 280 |
281 <tag-name><var>$connection_requests</var></tag-name> | 281 <tag-name id="var_connection_requests"><var>$connection_requests</var> |
282 </tag-name> | |
282 <tag-desc> | 283 <tag-desc> |
283 the current number of requests made through a connection (1.1.18) | 284 the current number of requests made through a connection (1.1.18) |
284 </tag-desc> | 285 </tag-desc> |
285 | 286 |
286 <tag-name><var>$msec</var></tag-name> | 287 <tag-name id="var_msec"><var>$msec</var></tag-name> |
287 <tag-desc> | 288 <tag-desc> |
288 time in seconds with a milliseconds resolution at the time of the log write | 289 time in seconds with a milliseconds resolution at the time of the log write |
289 </tag-desc> | 290 </tag-desc> |
290 | 291 |
291 <tag-name><var>$pipe</var></tag-name> | 292 <tag-name id="var_pipe"><var>$pipe</var></tag-name> |
292 <tag-desc> | 293 <tag-desc> |
293 “<literal>p</literal>” if request was pipelined, “<literal>.</literal>” | 294 “<literal>p</literal>” if request was pipelined, “<literal>.</literal>” |
294 otherwise | 295 otherwise |
295 </tag-desc> | 296 </tag-desc> |
296 | 297 |
297 <tag-name><var>$request_length</var></tag-name> | 298 <tag-name id="var_request_length"><var>$request_length</var></tag-name> |
298 <tag-desc> | 299 <tag-desc> |
299 request length (including request line, header, and request body) | 300 request length (including request line, header, and request body) |
300 </tag-desc> | 301 </tag-desc> |
301 | 302 |
302 <tag-name><var>$request_time</var></tag-name> | 303 <tag-name id="var_request_time"><var>$request_time</var></tag-name> |
303 <tag-desc> | 304 <tag-desc> |
304 request processing time in seconds with a milliseconds resolution; | 305 request processing time in seconds with a milliseconds resolution; |
305 time elapsed between the first bytes were read from the client and | 306 time elapsed between the first bytes were read from the client and |
306 the log write after the last bytes were sent to the client | 307 the log write after the last bytes were sent to the client |
307 </tag-desc> | 308 </tag-desc> |
308 | 309 |
309 <tag-name><var>$status</var></tag-name> | 310 <tag-name id="var_status"><var>$status</var></tag-name> |
310 <tag-desc> | 311 <tag-desc> |
311 response status | 312 response status |
312 </tag-desc> | 313 </tag-desc> |
313 | 314 |
314 <tag-name><var>$time_iso8601</var></tag-name> | 315 <tag-name id="var_time_iso8601"><var>$time_iso8601</var></tag-name> |
315 <tag-desc> | 316 <tag-desc> |
316 local time in the ISO 8601 standard format | 317 local time in the ISO 8601 standard format |
317 </tag-desc> | 318 </tag-desc> |
318 | 319 |
319 <tag-name><var>$time_local</var></tag-name> | 320 <tag-name id="var_time_local"><var>$time_local</var></tag-name> |
320 <tag-desc> | 321 <tag-desc> |
321 local time in the Common Log Format | 322 local time in the Common Log Format |
322 </tag-desc> | 323 </tag-desc> |
323 | 324 |
324 </list> | 325 </list> |