revert the previous commit and r2447 change in src/core/ngx_cycle.c

This commit is contained in:
Igor Sysoev 2009-01-26 14:31:49 +00:00
parent 71f729c78c
commit 9aa30bc51e

View File

@ -168,7 +168,6 @@ 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;
@ -395,6 +394,10 @@ ngx_init_cycle(ngx_cycle_t *old_cycle)
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 */