aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2009-04-01 13:01:50 +0000
committerIgor Sysoev <igor@sysoev.ru>2009-04-01 13:01:50 +0000
commita697c8e574baf87ab61c1cf0e27e756caa1bb270 (patch)
tree9f09795272d72a2598ffd0a86f179a100266ffc6 /src
parent32ab2f7e64923925ae733f1d864204db49fbbf1b (diff)
downloadnginx-a697c8e574baf87ab61c1cf0e27e756caa1bb270.tar.gz
nginx-a697c8e574baf87ab61c1cf0e27e756caa1bb270.zip
add debug logging
Diffstat (limited to 'src')
-rw-r--r--src/http/ngx_http_file_cache.c3
1 files changed, 3 insertions, 0 deletions
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;
}