Mercurial > hg > nginx-site
comparison xml/en/docs/http/ngx_http_log_module.xml @ 351:a4fa80755eab
Consistently strip initial offset in examples.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Tue, 24 Jan 2012 11:01:22 +0000 |
parents | 4c6d2c614d2c |
children | bb51d3e17dd0 |
comparison
equal
deleted
inserted
replaced
350:55c1c4a1748f | 351:a4fa80755eab |
---|---|
18 | 18 |
19 <section id="example" name="Example Configuration"> | 19 <section id="example" name="Example Configuration"> |
20 | 20 |
21 <para> | 21 <para> |
22 <example> | 22 <example> |
23 log_format gzip '$remote_addr - $remote_user [$time_local] ' | 23 log_format gzip '$remote_addr - $remote_user [$time_local] ' |
24 '"$request" $status $bytes_sent ' | 24 '"$request" $status $bytes_sent ' |
25 '"$http_referer" "$http_user_agent" "$gzip_ratio"'; | 25 '"$http_referer" "$http_user_agent" "$gzip_ratio"'; |
26 | 26 |
27 access_log /spool/logs/nginx-access.log gzip buffer=32k; | 27 access_log /spool/logs/nginx-access.log gzip buffer=32k; |
28 </example> | 28 </example> |
29 </para> | 29 </para> |
30 | 30 |
31 </section> | 31 </section> |
32 | 32 |
190 | 190 |
191 <para> | 191 <para> |
192 The configuration always includes the predefined format | 192 The configuration always includes the predefined format |
193 “<literal>combined</literal>”: | 193 “<literal>combined</literal>”: |
194 <example> | 194 <example> |
195 log_format combined '$remote_addr - $remote_user [$time_local] ' | 195 log_format combined '$remote_addr - $remote_user [$time_local] ' |
196 '"$request" $status $body_bytes_sent ' | 196 '"$request" $status $body_bytes_sent ' |
197 '"$http_referer" "$http_user_agent"'; | 197 '"$http_referer" "$http_user_agent"'; |
198 </example> | 198 </example> |
199 </para> | 199 </para> |
200 | 200 |
201 </directive> | 201 </directive> |
202 | 202 |