changeset 2604:2a35ed59827d

fix logged long locked cache entry name and add count
author Igor Sysoev <igor@sysoev.ru>
date Thu, 26 Mar 2009 09:50:04 +0000
parents f9bd7999eb08
children 2a301c21256a
files src/http/ngx_http_file_cache.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/http/ngx_http_file_cache.c
+++ b/src/http/ngx_http_file_cache.c
@@ -817,8 +817,8 @@ ngx_http_file_cache_expire(ngx_http_file
                 ngx_rbtree_delete(cache->rbtree, &fcn->node);
 
                 ngx_log_error(NGX_LOG_ALERT, ngx_cycle->log, 0,
-                              "ignore long locked inactive cache entry %*s",
-                              NGX_HTTP_CACHE_KEY_LEN, key);
+                       "ignore long locked inactive cache entry %*s, count:%d",
+                       2 * NGX_HTTP_CACHE_KEY_LEN, key, fcn->count);
             }
 
             if (tries++ < 10) {