diff options
author | Igor Sysoev <igor@sysoev.ru> | 2007-02-15 10:00:59 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2007-02-15 10:00:59 +0000 |
commit | 7b2d87ffa0da5a38f9a1b917c77245d5b1b2c911 (patch) | |
tree | e262817dbd67f9252875ab5bf34deb0b7e257ca2 | |
parent | 65a7b8f988d8a766014d58e5d73d30b0199b1656 (diff) | |
download | nginx-7b2d87ffa0da5a38f9a1b917c77245d5b1b2c911.tar.gz nginx-7b2d87ffa0da5a38f9a1b917c77245d5b1b2c911.zip |
add debug logging
-rw-r--r-- | src/http/ngx_http_upstream.c | 3 |
1 files changed, 3 insertions, 0 deletions
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 |