aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_upstream.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2010-07-28 15:56:56 +0000
committerIgor Sysoev <igor@sysoev.ru>2010-07-28 15:56:56 +0000
commit9135a0e022d09d8e3f7073f1c3794049f08de78f (patch)
tree53e1d06e0d827ac1b803b0fa181b37a9085b9666 /src/http/ngx_http_upstream.c
parent14c95f99ac8f7e5b99e81e91f8f919e498fd50b4 (diff)
downloadnginx-9135a0e022d09d8e3f7073f1c3794049f08de78f.tar.gz
nginx-9135a0e022d09d8e3f7073f1c3794049f08de78f.zip
move debug logging inside ngx_http_file_cache_free()
Diffstat (limited to 'src/http/ngx_http_upstream.c')
-rw-r--r--src/http/ngx_http_upstream.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/http/ngx_http_upstream.c b/src/http/ngx_http_upstream.c
index b04b61595..e8d87738f 100644
--- a/src/http/ngx_http_upstream.c
+++ b/src/http/ngx_http_upstream.c
@@ -1725,9 +1725,6 @@ ngx_http_upstream_intercept_errors(ngx_http_request_t *r,
if (r->cache) {
time_t valid;
- ngx_log_debug1(NGX_LOG_DEBUG_HTTP, r->connection->log, 0,
- "http upstream cache fd: %d", r->cache->file.fd);
-
valid = ngx_http_file_cache_valid(u->conf->cache_valid, status);
if (valid) {
@@ -2992,9 +2989,6 @@ ngx_http_upstream_finalize_request(ngx_http_request_t *r,
if (u->cacheable && r->cache) {
time_t valid;
- ngx_log_debug1(NGX_LOG_DEBUG_HTTP, r->connection->log, 0,
- "http upstream cache fd: %d", r->cache->file.fd);
-
if (rc == NGX_HTTP_BAD_GATEWAY || rc == NGX_HTTP_GATEWAY_TIME_OUT) {
valid = ngx_http_file_cache_valid(u->conf->cache_valid, rc);