aboutsummaryrefslogtreecommitdiff
path: root/src/core/ngx_cycle.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2009-01-26 14:11:09 +0000
committerIgor Sysoev <igor@sysoev.ru>2009-01-26 14:11:09 +0000
commit71f729c78cb23c58adb62cb139f22a11b0c80ca0 (patch)
tree6475d8f25e1582bb3d287624d80b7512a8272ef6 /src/core/ngx_cycle.c
parent4b2844b8a02a7d5efd01711260a21de9f650f7d1 (diff)
downloadnginx-71f729c78cb23c58adb62cb139f22a11b0c80ca0.tar.gz
nginx-71f729c78cb23c58adb62cb139f22a11b0c80ca0.zip
default error_log has zero level, the bug has been introduced in r2447
Diffstat (limited to 'src/core/ngx_cycle.c')
-rw-r--r--src/core/ngx_cycle.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/ngx_cycle.c b/src/core/ngx_cycle.c
index cdebf5645..55d7c2d48 100644
--- a/src/core/ngx_cycle.c
+++ b/src/core/ngx_cycle.c
@@ -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;