From d2d8b82b8795b2d014851bcfd325a7e07c7034ec Mon Sep 17 00:00:00 2001 From: Maxim Dounin Date: Fri, 23 Aug 2013 22:18:54 +0400 Subject: [PATCH] Cache: lock timeouts are now logged at info level. --- src/http/ngx_http_file_cache.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/http/ngx_http_file_cache.c b/src/http/ngx_http_file_cache.c index eacca595a..cf27683e6 100644 --- a/src/http/ngx_http_file_cache.c +++ b/src/http/ngx_http_file_cache.c @@ -445,8 +445,7 @@ ngx_http_file_cache_lock_wait_handler(ngx_event_t *ev) timer = c->wait_time - ngx_current_msec; if ((ngx_msec_int_t) timer <= 0) { - ngx_log_debug0(NGX_LOG_DEBUG_HTTP, ev->log, 0, - "http file cache lock timeout"); + ngx_log_error(NGX_LOG_INFO, ev->log, 0, "cache lock timeout"); c->lock = 0; goto wakeup; }