mirror of
https://github.com/nginx/nginx.git
synced 2026-07-10 02:47:15 +00:00
r2447, r2466, r2467 merge:
set the error level as default http error_log level
This commit is contained in:
parent
7f18a54c39
commit
341710a110
1 changed files with 4 additions and 1 deletions
|
|
@ -302,7 +302,10 @@ ngx_set_error_log_levels(ngx_conf_t *cf, ngx_log_t *log)
|
|||
}
|
||||
}
|
||||
|
||||
if (log->log_level == NGX_LOG_DEBUG) {
|
||||
if (log->log_level == 0) {
|
||||
log->log_level = NGX_LOG_ERR;
|
||||
|
||||
} else if (log->log_level == NGX_LOG_DEBUG) {
|
||||
log->log_level = NGX_LOG_DEBUG_ALL;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue