Mercurial > hg > nginx-site
diff xml/en/docs/http/ngx_http_log_module.xml @ 1694:080b36ad8d76
Reduced syntax clutter in the access_log directive.
Only two syntax variants were preserved:
- one with a generic syntax, which shows all possible parameters (and also
clearly demonstrates that format must be specified if any additional
parameters are used);
- one with "off", to emphasize it.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Wed, 04 May 2016 17:35:30 +0300 |
parents | 4e89518a5999 |
children | 33f742032155 |
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_log_module.xml +++ b/xml/en/docs/http/ngx_http_log_module.xml @@ -10,7 +10,7 @@ <module name="Module ngx_http_log_module" link="/en/docs/http/ngx_http_log_module.html" lang="en" - rev="14"> + rev="15"> <section id="summary"> @@ -50,19 +50,9 @@ access_log /spool/logs/nginx-access.log <syntax> <value>path</value> [<value>format</value> - [<literal>buffer</literal>=<value>size</value> - [<literal>flush</literal>=<value>time</value>]] - [<literal>if</literal>=<value>condition</value>]]</syntax> -<syntax> - <value>path</value> - <value>format</value> - <literal>gzip[=<value>level</value>]</literal> [<literal>buffer</literal>=<value>size</value>] + [<literal>gzip[=<value>level</value>]</literal>] [<literal>flush</literal>=<value>time</value>] - [<literal>if</literal>=<value>condition</value>]</syntax> -<syntax> - <literal>syslog:</literal><literal>server</literal>=<value>address</value>[,<value>parameter</value>=<value>value</value>] - [<value>format</value> [<literal>if</literal>=<value>condition</value>]]</syntax> <syntax><literal>off</literal></syntax> <default>logs/access.log combined</default>