diff xml/en/docs/ngx_core_module.xml @ 455:571b790ddf9e

error_log: documented the special value "stderr" and default logging level.
author Ruslan Ermilov <ru@nginx.com>
date Tue, 20 Mar 2012 08:24:14 +0000
parents 43c84d19bf92
children 8275e169f77b
line wrap: on
line diff
--- a/xml/en/docs/ngx_core_module.xml
+++ b/xml/en/docs/ngx_core_module.xml
@@ -44,7 +44,7 @@ Mainly used during development.
 
 <directive name="error_log">
 <syntax>
-<value>file</value>
+<value>file</value> | <literal>stderr</literal>
 [<literal>debug</literal> |
 <literal>info</literal> |
 <literal>notice</literal> |
@@ -68,6 +68,7 @@ The first parameter defines a file that 
 <!--
 If filename is not absolute, it is prefixed with the prefix path.
 -->
+The special value <literal>stderr</literal> selects the standard error file.
 </para>
 
 <para>
@@ -79,6 +80,7 @@ For example, the default level <literal>
 cause <literal>error</literal>, <literal>crit</literal>,
 <literal>alert</literal>, and <literal>emerg</literal> messages
 to be logged.
+If this parameter is omitted then <literal>error</literal> is used.
 <note>
 For <literal>debug</literal> logging to work, nginx needs to
 be built with <literal>--with-debug</literal>.