From 49ed98d1eb3a441ac6b684511b9b95655dc1c8d7 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Fri, 10 Apr 2009 14:47:18 +0000 Subject: [PATCH] add debug logging --- src/http/ngx_http_upstream.c | 3 +++ 1 file changed, 3 insertions(+) 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;