From: Igor Sysoev Date: Wed, 28 Mar 2007 14:38:33 +0000 (+0000) Subject: style fix X-Git-Tag: release-0.5.17~10 X-Git-Url: http://www.kaiwu.me/postgresql/commit/?a=commitdiff_plain;h=4ca98f65a5b2e753bdbb235d4609fbf3e0e323d6;p=nginx.git style fix --- diff --git a/src/http/ngx_http_core_module.c b/src/http/ngx_http_core_module.c index 0a686c33a..e684d111c 100644 --- a/src/http/ngx_http_core_module.c +++ b/src/http/ngx_http_core_module.c @@ -874,7 +874,8 @@ ngx_http_update_location_config(ngx_http_request_t *r) } if (r == r->main) { - r->connection->log->file = clcf->err_log->file; + r->connection->log->file = clcf->err_log->file; + if (!(r->connection->log->log_level & NGX_LOG_DEBUG_CONNECTION)) { r->connection->log->log_level = clcf->err_log->log_level; }