mirror of
https://github.com/nginx/nginx.git
synced 2025-07-31 10:36:14 +08:00
default error_log has zero level, the bug has been introduced in r2447
This commit is contained in:
parent
4b2844b8a0
commit
71f729c78c
@ -168,6 +168,7 @@ ngx_init_cycle(ngx_cycle_t *old_cycle)
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
cycle->new_log->log_level = NGX_LOG_ERR;
|
||||||
cycle->new_log->file->name = error_log;
|
cycle->new_log->file->name = error_log;
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user