From: Igor Sysoev Date: Thu, 15 Feb 2007 10:00:59 +0000 (+0000) Subject: add debug logging X-Git-Tag: release-0.5.13~10 X-Git-Url: http://www.kaiwu.me/postgresql/commit/?a=commitdiff_plain;h=7b2d87ffa0da5a38f9a1b917c77245d5b1b2c911;p=nginx.git add debug logging --- diff --git a/src/http/ngx_http_upstream.c b/src/http/ngx_http_upstream.c index 79d372c13..6f548a397 100644 --- a/src/http/ngx_http_upstream.c +++ b/src/http/ngx_http_upstream.c @@ -433,6 +433,9 @@ ngx_http_upstream_check_broken_connection(ngx_http_request_t *r, err = ngx_socket_errno; + ngx_log_debug1(NGX_LOG_DEBUG_HTTP, ev->log, err, + "http upstream recv(): %d", n); + /* * we do not need to disable the write event because * that event has NGX_USE_CLEAR_EVENT type