diff src/core/ngx_cycle.c @ 2465:3882ced159b6

default error_log has zero level, the bug has been introduced in r2447
author Igor Sysoev <igor@sysoev.ru>
date Mon, 26 Jan 2009 14:11:09 +0000
parents 6fd7d9c3218d
children 550ab350c306
line wrap: on
line diff
--- a/src/core/ngx_cycle.c	Sun Jan 25 10:39:59 2009 +0000
+++ b/src/core/ngx_cycle.c	Mon Jan 26 14:11:09 2009 +0000
@@ -168,6 +168,7 @@
         return NULL;
     }
 
+    cycle->new_log->log_level = NGX_LOG_ERR;
     cycle->new_log->file->name = error_log;