From: Igor Sysoev Date: Tue, 16 Jan 2007 20:43:36 +0000 (+0000) Subject: fix debug logging X-Git-Tag: release-0.5.8~29 X-Git-Url: http://www.kaiwu.me/postgresql/commit/?a=commitdiff_plain;h=66af04752f15afee4a233fb07acab5181e1863c5;p=nginx.git fix debug logging --- 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; }