commit | 4ca98f65a5b2e753bdbb235d4609fbf3e0e323d6 | [log] [tgz] |
---|---|---|
author | Igor Sysoev <igor@sysoev.ru> | Wed Mar 28 14:38:33 2007 +0000 |
committer | Igor Sysoev <igor@sysoev.ru> | Wed Mar 28 14:38:33 2007 +0000 |
tree | 0c27ebbbea324b319d17b6a2347166925ffb761a | |
parent | 035b9c5d240d862ad2c787ca37022e1264a17279 [diff] |
style fix
diff --git a/src/http/ngx_http_core_module.c b/src/http/ngx_http_core_module.c index 0a686c3..e684d11 100644 --- a/src/http/ngx_http_core_module.c +++ b/src/http/ngx_http_core_module.c
@@ -874,7 +874,8 @@ } 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; }