diff src/http/ngx_http_file_cache.c @ 2631:73571521c2eb

add debug logging
author Igor Sysoev <igor@sysoev.ru>
date Wed, 01 Apr 2009 13:01:50 +0000
parents b0cfe5f66e8d
children ba1f3cdba725
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;
         }