Mercurial > hg > nginx
changeset 2466:550ab350c306
revert the previous commit and r2447 change in src/core/ngx_cycle.c
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 26 Jan 2009 14:31:49 +0000 |
parents | 3882ced159b6 |
children | 84f2bef92007 |
files | src/core/ngx_cycle.c |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/core/ngx_cycle.c Mon Jan 26 14:11:09 2009 +0000 +++ b/src/core/ngx_cycle.c Mon Jan 26 14:31:49 2009 +0000 @@ -168,7 +168,6 @@ return NULL; } - cycle->new_log->log_level = NGX_LOG_ERR; cycle->new_log->file->name = error_log; @@ -395,6 +394,10 @@ cycle->log = cycle->new_log; pool->log = cycle->new_log; + if (cycle->log->log_level == 0) { + cycle->log->log_level = NGX_LOG_ERR; + } + /* create shared memory */