aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2009-04-10 14:47:18 +0000
committerIgor Sysoev <igor@sysoev.ru>2009-04-10 14:47:18 +0000
commit49ed98d1eb3a441ac6b684511b9b95655dc1c8d7 (patch)
tree0094aada5540ece7da4466e8b3ed3b2b34d51cfd
parente46943965d62285f6283302cc062d944cd16bc32 (diff)
downloadnginx-49ed98d1eb3a441ac6b684511b9b95655dc1c8d7.tar.gz
nginx-49ed98d1eb3a441ac6b684511b9b95655dc1c8d7.zip
add debug logging
-rw-r--r--src/http/ngx_http_upstream.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/http/ngx_http_upstream.c b/src/http/ngx_http_upstream.c
index 12791ca0c..157c5fd52 100644
--- a/src/http/ngx_http_upstream.c
+++ b/src/http/ngx_http_upstream.c
@@ -1945,6 +1945,9 @@ ngx_http_upstream_send_response(ngx_http_request_t *r, ngx_http_upstream_t *u)
}
}
+ ngx_log_debug1(NGX_LOG_DEBUG_HTTP, c->log, 0,
+ "http cacheable: %d", u->cacheable);
+
#endif
p = u->pipe;