# HG changeset patch # User Maxim Dounin # Date 1462372530 -10800 # Node ID 080b36ad8d76a4b8e5808b3363f01ec134e69375 # Parent c841e77fcc1d84b622f74aa181e61bb36918d33b 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. diff -r c841e77fcc1d -r 080b36ad8d76 xml/en/docs/http/ngx_http_log_module.xml --- a/xml/en/docs/http/ngx_http_log_module.xml Thu Apr 28 16:51:04 2016 +0300 +++ b/xml/en/docs/http/ngx_http_log_module.xml Wed May 04 17:35:30 2016 +0300 @@ -10,7 +10,7 @@ + rev="15">
@@ -50,19 +50,9 @@ path [format - [buffer=size - [flush=time]] - [if=condition]] - - path - format - gzip[=level] [buffer=size] + [gzip[=level]] [flush=time] - [if=condition] - - syslog:server=address[,parameter=value] - [format [if=condition]] off logs/access.log combined diff -r c841e77fcc1d -r 080b36ad8d76 xml/ru/docs/http/ngx_http_log_module.xml --- a/xml/ru/docs/http/ngx_http_log_module.xml Thu Apr 28 16:51:04 2016 +0300 +++ b/xml/ru/docs/http/ngx_http_log_module.xml Wed May 04 17:35:30 2016 +0300 @@ -10,7 +10,7 @@ + rev="15">
@@ -51,19 +51,9 @@ путь [формат - [buffer=размер - [flush=время]] - [if=условие]] - - путь - формат - gzip[=степень] [buffer=размер] + [gzip[=степень]] [flush=время] - [if=условие] - - syslog:server=адрес[,параметр=значение] - [формат [if=условие]] off logs/access.log combined