# HG changeset patch # User Ruslan Ermilov # Date 1332231854 0 # Node ID 571b790ddf9e54480904ffcdef6921299a08012f # Parent daafc5600fc4aa62a75c85cb3ddd46cb803d01a6 error_log: documented the special value "stderr" and default logging level. diff -r daafc5600fc4 -r 571b790ddf9e xml/en/docs/ngx_core_module.xml --- a/xml/en/docs/ngx_core_module.xml Tue Mar 20 07:53:55 2012 +0000 +++ b/xml/en/docs/ngx_core_module.xml Tue Mar 20 08:24:14 2012 +0000 @@ -44,7 +44,7 @@ -file +file | stderr [debug | info | notice | @@ -68,6 +68,7 @@ +The special value stderr selects the standard error file. @@ -79,6 +80,7 @@ cause error, crit, alert, and emerg messages to be logged. +If this parameter is omitted then error is used. For debug logging to work, nginx needs to be built with --with-debug. diff -r daafc5600fc4 -r 571b790ddf9e xml/ru/docs/ngx_core_module.xml --- a/xml/ru/docs/ngx_core_module.xml Tue Mar 20 07:53:55 2012 +0000 +++ b/xml/ru/docs/ngx_core_module.xml Tue Mar 20 08:24:14 2012 +0000 @@ -44,7 +44,7 @@ -файл +файл | stderr [debug | info | notice | @@ -68,6 +68,7 @@ +Специальное значение stderr выбирает стандартный файл ошибок. @@ -78,7 +79,7 @@ Например, при стандартном уровне error в лог попадают сообщения уровней error, crit, alert и emerg. - +Если этот параметр не задан, используется error. Для работы уровня лога debug необходимо сконфигурировать nginx с --with-debug.