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	Thu Apr 09 13:56:16 2009 +0000
+++ b/src/http/ngx_http_upstream.c	Fri Apr 10 14:47:18 2009 +0000
@@ -1945,6 +1945,9 @@
         }
     }
 
+    ngx_log_debug1(NGX_LOG_DEBUG_HTTP, c->log, 0,
+                   "http cacheable: %d", u->cacheable);
+
 #endif
 
     p = u->pipe;