]> git.kaiwu.me - nginx.git/commitdiff
add debug logging
authorIgor Sysoev <igor@sysoev.ru>
Wed, 1 Apr 2009 13:01:50 +0000 (13:01 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Wed, 1 Apr 2009 13:01:50 +0000 (13:01 +0000)
src/http/ngx_http_file_cache.c

index 0c23e46e05b1a37bf828135e32b4c05b814534d6..42315f770900be2ce18daa306415820d5801ac55 100644 (file)
@@ -1065,6 +1065,9 @@ ngx_http_file_cache_manager(void *data)
 
         ngx_shmtx_unlock(&cache->shpool->mutex);
 
+        ngx_log_debug1(NGX_LOG_DEBUG_HTTP, ngx_cycle->log, 0,
+                       "http file cache size: %O", size);
+
         if (size < cache->max_size) {
             return next;
         }