commit | a697c8e574baf87ab61c1cf0e27e756caa1bb270 | [log] [tgz] |
---|---|---|
author | Igor Sysoev <igor@sysoev.ru> | Wed Apr 01 13:01:50 2009 +0000 |
committer | Igor Sysoev <igor@sysoev.ru> | Wed Apr 01 13:01:50 2009 +0000 |
tree | 9f09795272d72a2598ffd0a86f179a100266ffc6 | |
parent | 32ab2f7e64923925ae733f1d864204db49fbbf1b [diff] |
add debug logging
diff --git a/src/http/ngx_http_file_cache.c b/src/http/ngx_http_file_cache.c index 0c23e46..42315f7 100644 --- a/src/http/ngx_http_file_cache.c +++ b/src/http/ngx_http_file_cache.c
@@ -1065,6 +1065,9 @@ 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; }