# HG changeset patch # User Yaroslav Zhuravlev # Date 1473436293 -10800 # Node ID 8b1ef02c8686fec41245f8efcda4a770758a7a27 # Parent 8d0372178e00667d8adb0a58d86eeee6270b7800 Corrected examples in ngx_stream_log_module. diff -r 8d0372178e00 -r 8b1ef02c8686 xml/en/docs/stream/ngx_stream_log_module.xml --- a/xml/en/docs/stream/ngx_stream_log_module.xml Wed Sep 07 19:42:32 2016 +0300 +++ b/xml/en/docs/stream/ngx_stream_log_module.xml Fri Sep 09 18:51:33 2016 +0300 @@ -29,7 +29,7 @@ '$protocol $status $bytes_sent $bytes_received ' '$session_time'; -access_log /spool/logs/nginx-access.log detailed buffer=32k; +access_log /spool/logs/nginx-access.log basic buffer=32k; @@ -163,9 +163,9 @@ Specifies the log format, for example: log_format proxy '$remote_addr [$time_local] ' - '$protocol $status $bytes_sent $bytes_received' - '$session_time "$upstream_addr"' - '"$upstream_bytes_sent" "$upstream_bytes_received" "$upstream_connection_time" '; + '$protocol $status $bytes_sent $bytes_received ' + '$session_time "$upstream_addr" ' + '"$upstream_bytes_sent" "$upstream_bytes_received" "$upstream_connection_time"'; diff -r 8d0372178e00 -r 8b1ef02c8686 xml/ru/docs/stream/ngx_stream_log_module.xml --- a/xml/ru/docs/stream/ngx_stream_log_module.xml Wed Sep 07 19:42:32 2016 +0300 +++ b/xml/ru/docs/stream/ngx_stream_log_module.xml Fri Sep 09 18:51:33 2016 +0300 @@ -27,7 +27,7 @@ log_format basic '$remote_addr [$time_local] ' '$protocol $status $bytes_sent $bytes_received ' - ' $session_time'; + '$session_time'; access_log /spool/logs/nginx-access.log basic buffer=32k; @@ -163,9 +163,9 @@ Задаёт формат лога, например: log_format proxy '$remote_addr [$time_local] ' - '$protocol $status $bytes_sent $bytes_received' - '$session_time "$upstream_addr"' - '"$upstream_bytes_sent" "$upstream_bytes_received" "$upstream_connection_time" '; + '$protocol $status $bytes_sent $bytes_received ' + '$session_time "$upstream_addr" ' + '"$upstream_bytes_sent" "$upstream_bytes_received" "$upstream_connection_time"';