Mercurial > hg > nginx-site
comparison xml/ru/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 | 457c54242cfa |
children | bb51d3e17dd0 |
comparison
equal
deleted
inserted
replaced
350:55c1c4a1748f | 351:a4fa80755eab |
---|---|
18 | 18 |
19 <section id="example" name="Пример конфигурации"> | 19 <section id="example" name="Пример конфигурации"> |
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 |
185 | 185 |
186 <para> | 186 <para> |
187 В конфигурации всегда существует предопределённый формат | 187 В конфигурации всегда существует предопределённый формат |
188 “<literal>combined</literal>”: | 188 “<literal>combined</literal>”: |
189 <example> | 189 <example> |
190 log_format combined '$remote_addr - $remote_user [$time_local] ' | 190 log_format combined '$remote_addr - $remote_user [$time_local] ' |
191 '"$request" $status $body_bytes_sent ' | 191 '"$request" $status $body_bytes_sent ' |
192 '"$http_referer" "$http_user_agent"'; | 192 '"$http_referer" "$http_user_agent"'; |
193 </example> | 193 </example> |
194 </para> | 194 </para> |
195 | 195 |
196 </directive> | 196 </directive> |
197 | 197 |