changeset 2631:73571521c2eb

add debug logging
author Igor Sysoev <igor@sysoev.ru>
date Wed, 01 Apr 2009 13:01:50 +0000
parents 73a132c47076
children ba1f3cdba725
files src/http/ngx_http_file_cache.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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;
         }