comparison xml/ru/docs/http/ngx_http_log_module.xml @ 102:c76a257f3fd4

The directive name is now automatically printed in <default> and <syntax>. Specifying <default> is made non-optional. Visible changes: - "types" and "proxy_set_header" get proper defaults (not yet displayed nicely); - "fastcgi_hide_header", "fastcgi_ignore_headers", "fastcgi_pass_header", "proxy_hide_header", "proxy_ignore_headers", and "proxy_pass_header" now have their (empty) defaults documented; - mentions of "fastcgi_redirect_errors" and "proxy_redirect_errors" which are long unsupported were removed.
author Ruslan Ermilov <ru@nginx.com>
date Wed, 19 Oct 2011 05:15:24 +0000
parents 0a45870d0160
children 56457a474903
comparison
equal deleted inserted replaced
101:b8fd014ec712 102:c76a257f3fd4
31 31
32 32
33 <section name="Директивы" id="directives"> 33 <section name="Директивы" id="directives">
34 34
35 <directive name="access_log"> 35 <directive name="access_log">
36 <syntax>access_log <value>путь [формат [buffer=размер]]|off</value> 36 <syntax><value>путь [формат [buffer=размер]]|off</value>
37 </syntax> 37 </syntax>
38 <default>access_log log/access.log combined</default> 38 <default>log/access.log combined</default>
39 <context>http, server, location, if в location, limit_except</context> 39 <context>http, server, location, if в location, limit_except</context>
40 40
41 <para> 41 <para>
42 Директива access_log задаёт путь, формат и размер буфера для буферизированной 42 Директива access_log задаёт путь, формат и размер буфера для буферизированной
43 записи в лог. На одном уровне может использоваться несколько логов. 43 записи в лог. На одном уровне может использоваться несколько логов.
91 91
92 </directive> 92 </directive>
93 93
94 94
95 <directive name="log_format"> 95 <directive name="log_format">
96 <syntax>log_format <value>название строка [строка ...]</value> 96 <syntax><value>название строка [строка ...]</value>
97 </syntax> 97 </syntax>
98 <default>log_format combined "..." </default> 98 <default>combined "..." </default>
99 <context>http</context> 99 <context>http</context>
100 100
101 <para> 101 <para>
102 Директива log_format описывает формат лога. 102 Директива log_format описывает формат лога.
103 </para> 103 </para>
163 163
164 </directive> 164 </directive>
165 165
166 <directive name="open_log_file_cache"> 166 <directive name="open_log_file_cache">
167 167
168 <syntax>open_log_file_cache <value>max=N [inactive=время]|off</value> 168 <syntax><value>max=N [inactive=время]|off</value>
169 </syntax> 169 </syntax>
170 <default>open_log_file_cache off</default> 170 <default>off</default>
171 <context>http, server, location</context> 171 <context>http, server, location</context>
172 172
173 <para> 173 <para>
174 Директива задаёт кэш, в котором хранятся дескрипторы файлов часто используемых 174 Директива задаёт кэш, в котором хранятся дескрипторы файлов часто используемых
175 логов, имена которых заданы переменными. 175 логов, имена которых заданы переменными.