add debug logging

This commit is contained in:
Igor Sysoev 2007-06-03 19:56:27 +00:00
parent 68e482d875
commit 16116a1e57

View 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) {