diff src/http/ngx_http_upstream.c @ 2690:d3cffe32b930

add debug logging
author Igor Sysoev <igor@sysoev.ru>
date Fri, 10 Apr 2009 14:47:18 +0000
parents 5e4d8bd4486c
children baa91bf5a63b
line wrap: on
line diff
--- 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
         }
     }
 
+    ngx_log_debug1(NGX_LOG_DEBUG_HTTP, c->log, 0,
+                   "http cacheable: %d", u->cacheable);
+
 #endif
 
     p = u->pipe;