]> git.kaiwu.me - nginx.git/commitdiff
add debug logging
authorIgor Sysoev <igor@sysoev.ru>
Fri, 10 Apr 2009 14:47:18 +0000 (14:47 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Fri, 10 Apr 2009 14:47:18 +0000 (14:47 +0000)
src/http/ngx_http_upstream.c

index 12791ca0c7ce12a8ff3adaaabd94b18ab6af9676..157c5fd52599ed74b1b833f737e14d5708f10378 100644 (file)
@@ -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;