aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_request.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2004-04-08 15:58:25 +0000
committerIgor Sysoev <igor@sysoev.ru>2004-04-08 15:58:25 +0000
commitfff32326ca9009ebba0aadd24aa0683afe0d4a02 (patch)
treeac738d570dd46b0ef6b15b09b42d9956245f5005 /src/http/ngx_http_request.c
parent9a864bd8f87efd0fa23f552d4277475dd76bcea4 (diff)
downloadnginx-fff32326ca9009ebba0aadd24aa0683afe0d4a02.tar.gz
nginx-fff32326ca9009ebba0aadd24aa0683afe0d4a02.zip
nginx-0.0.3-2004-04-08-19:58:25 import
Diffstat (limited to 'src/http/ngx_http_request.c')
-rw-r--r--src/http/ngx_http_request.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/http/ngx_http_request.c b/src/http/ngx_http_request.c
index a2a0feda6..9233f89d8 100644
--- a/src/http/ngx_http_request.c
+++ b/src/http/ngx_http_request.c
@@ -231,7 +231,9 @@ static void ngx_http_init_request(ngx_event_t *rev)
clcf = ngx_http_get_module_loc_conf(r, ngx_http_core_module);
c->log->file = clcf->err_log->file;
- c->log->log_level = clcf->err_log->log_level;
+ if (!(c->log->log_level & NGX_LOG_DEBUG_CONNECTION)) {
+ c->log->log_level = clcf->err_log->log_level;
+ }
if (c->buffer == NULL) {
c->buffer = ngx_create_temp_hunk(c->pool,