Welcome! Log In Create A New Profile

Advanced

[nginx] Cache: lock timeouts are now logged at info level.

Maxim Dounin
August 23, 2013 02:22PM
details: http://hg.nginx.org/nginx/rev/654c1631dc86
branches:
changeset: 5341:654c1631dc86
user: Maxim Dounin <mdounin@mdounin.ru>
date: Fri Aug 23 22:18:54 2013 +0400
description:
Cache: lock timeouts are now logged at info level.

diffstat:

src/http/ngx_http_file_cache.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)

diffs (13 lines):

diff --git a/src/http/ngx_http_file_cache.c b/src/http/ngx_http_file_cache.c
--- 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(ng
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;
}

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[nginx] Cache: lock timeouts are now logged at info level.

Maxim Dounin 843 August 23, 2013 02:22PM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 137
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready