fix debug logging

This commit is contained in:
Igor Sysoev 2007-01-16 20:43:36 +00:00
parent 03c9cb7afc
commit 66af04752f

View File

@ -1308,11 +1308,8 @@ ngx_http_fastcgi_input_filter(ngx_event_pipe_t *p, ngx_buf_t *buf)
/* STUB */ b->num = buf->num; /* 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, 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) { 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; b->last_shadow = 1;
ngx_log_debug2(NGX_LOG_DEBUG_EVENT, p->log, 0, 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; return NGX_OK;
} }