changeset 1777:8b1ef02c8686

Corrected examples in ngx_stream_log_module.
author Yaroslav Zhuravlev <yar@nginx.com>
date Fri, 09 Sep 2016 18:51:33 +0300
parents 8d0372178e00
children 1626f1bf164c
files xml/en/docs/stream/ngx_stream_log_module.xml xml/ru/docs/stream/ngx_stream_log_module.xml
diffstat 2 files changed, 8 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- 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;
 </example>
 </para>
 
@@ -163,9 +163,9 @@
 Specifies the log format, for example:
 <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"';
 </example>
 </para>
 
--- 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 @@
 <example>
 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;
 </example>
@@ -163,9 +163,9 @@
 Задаёт формат лога, например:
 <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"';
 </example>
 </para>