changeset 2690:d3cffe32b930

add debug logging
author Igor Sysoev <igor@sysoev.ru>
date Fri, 10 Apr 2009 14:47:18 +0000
parents 6caf687a831f
children baa91bf5a63b
files src/http/ngx_http_upstream.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
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;