From: Graham Leggett Date: Thu, 27 Aug 2009 21:47:26 +0000 (+0000) Subject: Log the return code in the debug message to properly indicate why the lock X-Git-Tag: 2.3.3~369 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d3e08fa3ba1d6862ab0115797de2b86bcd7d15de;p=thirdparty%2Fapache%2Fhttpd.git Log the return code in the debug message to properly indicate why the lock could not be obtained. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@808652 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/cache/mod_cache.c b/modules/cache/mod_cache.c index b5e616b69c2..5a78e6f9b7a 100644 --- a/modules/cache/mod_cache.c +++ b/modules/cache/mod_cache.c @@ -159,7 +159,7 @@ static int cache_url_handler(request_rec *r, int lookup) cache, r, r->connection); } else { - ap_log_error(APLOG_MARK, APLOG_DEBUG, APR_SUCCESS, + ap_log_error(APLOG_MARK, APLOG_DEBUG, rv, r->server, "Cache locked for url, not caching " "response: %s", r->uri); }