comparison 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
comparison
equal deleted inserted replaced
2630:73a132c47076 2631:73571521c2eb
1063 1063
1064 size = *cache->size; 1064 size = *cache->size;
1065 1065
1066 ngx_shmtx_unlock(&cache->shpool->mutex); 1066 ngx_shmtx_unlock(&cache->shpool->mutex);
1067 1067
1068 ngx_log_debug1(NGX_LOG_DEBUG_HTTP, ngx_cycle->log, 0,
1069 "http file cache size: %O", size);
1070
1068 if (size < cache->max_size) { 1071 if (size < cache->max_size) {
1069 return next; 1072 return next;
1070 } 1073 }
1071 1074
1072 next = ngx_http_file_cache_forced_expire(cache); 1075 next = ngx_http_file_cache_forced_expire(cache);