From 66af04752f15afee4a233fb07acab5181e1863c5 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Tue, 16 Jan 2007 20:43:36 +0000 Subject: [PATCH] fix debug logging --- src/http/modules/ngx_http_fastcgi_module.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/http/modules/ngx_http_fastcgi_module.c b/src/http/modules/ngx_http_fastcgi_module.c index 3791b3e14..f4c0caf02 100644 --- a/src/http/modules/ngx_http_fastcgi_module.c +++ b/src/http/modules/ngx_http_fastcgi_module.c @@ -1308,11 +1308,8 @@ ngx_http_fastcgi_input_filter(ngx_event_pipe_t *p, ngx_buf_t *buf) /* STUB */ b->num = buf->num; - ngx_log_debug1(NGX_LOG_DEBUG_EVENT, p->log, 0, "input buf #%d", b->num); - ngx_log_debug2(NGX_LOG_DEBUG_EVENT, p->log, 0, - "input buf %p %z", b->pos, b->last - b->pos); - + "input buf #%d %p", b->num, b->pos); if (f->pos + f->length < f->last) { @@ -1354,7 +1351,7 @@ ngx_http_fastcgi_input_filter(ngx_event_pipe_t *p, ngx_buf_t *buf) b->last_shadow = 1; ngx_log_debug2(NGX_LOG_DEBUG_EVENT, p->log, 0, - "input buf last %p %z", b->pos, b->last - b->pos); + "input buf %p %z", b->pos, b->last - b->pos); return NGX_OK; }