Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nginx/nginx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2009-01-26 17:11:09 +0300
committerIgor Sysoev <igor@sysoev.ru>2009-01-26 17:11:09 +0300
commit71f729c78cb23c58adb62cb139f22a11b0c80ca0 (patch)
tree6475d8f25e1582bb3d287624d80b7512a8272ef6
parent4b2844b8a02a7d5efd01711260a21de9f650f7d1 (diff)
default error_log has zero level, the bug has been introduced in r2447
-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;