Mercurial > hg > nginx
diff src/http/ngx_http_core_module.c @ 1148:3a95870b3229
style fix
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Wed, 28 Mar 2007 14:38:33 +0000 |
parents | db7c468c447d |
children | b8fe8a80e019 |
line wrap: on
line diff
--- 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 } 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; }