diff options
author | Maxim Dounin <mdounin@mdounin.ru> | 2013-08-23 22:18:54 +0400 |
---|---|---|
committer | Maxim Dounin <mdounin@mdounin.ru> | 2013-08-23 22:18:54 +0400 |
commit | d2d8b82b8795b2d014851bcfd325a7e07c7034ec (patch) | |
tree | bcd39c8f8308152c78e23437bd88ddb7b53358e5 /src/http/ngx_http_file_cache.c | |
parent | 73ec75a9744486c60255eeed278a5170a5ac80fe (diff) | |
download | nginx-d2d8b82b8795b2d014851bcfd325a7e07c7034ec.tar.gz nginx-d2d8b82b8795b2d014851bcfd325a7e07c7034ec.zip |
Cache: lock timeouts are now logged at info level.
Diffstat (limited to 'src/http/ngx_http_file_cache.c')
-rw-r--r-- | src/http/ngx_http_file_cache.c | 3 |
1 files changed, 1 insertions, 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; } |