default error_log has zero level, the bug has been introduced in r2447

This commit is contained in:
Igor Sysoev 2009-01-26 14:11:09 +00:00
parent 4b2844b8a0
commit 71f729c78c

View File

@ -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;