]> git.kaiwu.me - nginx.git/commitdiff
default error_log has zero level, the bug has been introduced in r2447
authorIgor Sysoev <igor@sysoev.ru>
Mon, 26 Jan 2009 14:11:09 +0000 (14:11 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Mon, 26 Jan 2009 14:11:09 +0000 (14:11 +0000)
src/core/ngx_cycle.c

index cdebf5645bffc75e6217a92cfb822d0c79a2dc23..55d7c2d4845c1568b21e9c53ca83de3b64aae6f3 100644 (file)
@@ -168,6 +168,7 @@ ngx_init_cycle(ngx_cycle_t *old_cycle)
         return NULL;
     }
 
+    cycle->new_log->log_level = NGX_LOG_ERR;
     cycle->new_log->file->name = error_log;