Mercurial > hg > nginx
changeset 1037:c28c8bdb57f4
fix debug logging
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 16 Jan 2007 20:43:36 +0000 |
parents | defdce84b172 |
children | c136df6c5ff0 |
files | src/http/modules/ngx_http_fastcgi_module.c |
diffstat | 1 files changed, 2 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/src/http/modules/ngx_http_fastcgi_module.c Tue Jan 16 19:01:10 2007 +0000 +++ b/src/http/modules/ngx_http_fastcgi_module.c Tue Jan 16 20:43:36 2007 +0000 @@ -1308,11 +1308,8 @@ /* 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 @@ 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; }