]> git.kaiwu.me - nginx.git/commitdiff
add debug logging
authorIgor Sysoev <igor@sysoev.ru>
Sun, 3 Jun 2007 19:56:27 +0000 (19:56 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Sun, 3 Jun 2007 19:56:27 +0000 (19:56 +0000)
src/core/ngx_output_chain.c

index cc635c9a93541d91126b2758616e2f8d1a8082b2..554fe1b150f84b64758d06a061dcb7c6c66ea353 100644 (file)
@@ -444,8 +444,9 @@ ngx_chain_writer(void *data, ngx_chain_t *in)
 
         size += ngx_buf_size(in->buf);
 
-        ngx_log_debug1(NGX_LOG_DEBUG_CORE, ctx->connection->log, 0,
-                       "chain writer buf size: %uO", ngx_buf_size(in->buf));
+        ngx_log_debug2(NGX_LOG_DEBUG_CORE, ctx->connection->log, 0,
+                       "chain writer buf fl:%d s:%uO",
+                       in->buf->flush, ngx_buf_size(in->buf));
 
         cl = ngx_alloc_chain_link(ctx->pool);
         if (cl == NULL) {