mirror of
https://github.com/nginx/nginx.git
synced 2024-12-04 22:09:01 +08:00
fix debug logging
This commit is contained in:
parent
03c9cb7afc
commit
66af04752f
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user