]> git.kaiwu.me - nginx.git/commitdiff
fix debug logging
authorIgor Sysoev <igor@sysoev.ru>
Tue, 16 Jan 2007 20:43:36 +0000 (20:43 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Tue, 16 Jan 2007 20:43:36 +0000 (20:43 +0000)
src/http/modules/ngx_http_fastcgi_module.c

index 3791b3e14214a9481cd25510a1b39fd1230f3415..f4c0caf02da1ef695476fc81ab03c7974c457059 100644 (file)
@@ -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;
     }