From a697c8e574baf87ab61c1cf0e27e756caa1bb270 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Wed, 1 Apr 2009 13:01:50 +0000 Subject: [PATCH] add debug logging --- src/http/ngx_http_file_cache.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/http/ngx_http_file_cache.c b/src/http/ngx_http_file_cache.c index 0c23e46e0..42315f770 100644 --- a/src/http/ngx_http_file_cache.c +++ b/src/http/ngx_http_file_cache.c @@ -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; }