diff options
author | Yann Ylavic <ylavic@apache.org> | 2016-08-17 15:22:20 +0200 |
---|---|---|
committer | Yann Ylavic <ylavic@apache.org> | 2016-08-17 15:22:20 +0200 |
commit | 42ac64953825d06b2fcbbabc6124595068026285 (patch) | |
tree | fb9ee82d14ccb31ac63fdf0229d2d9c51f2d2ea6 | |
parent | mod_dav: follow up to r1746207: fix typo (missing '/') for closing tag. (diff) | |
download | apache2-42ac64953825d06b2fcbbabc6124595068026285.tar.xz apache2-42ac64953825d06b2fcbbabc6124595068026285.zip |
mod_cache: follow up to r1756553: log the real/actual cached URI (debug).
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1756631 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | modules/cache/mod_cache.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/modules/cache/mod_cache.c b/modules/cache/mod_cache.c index 9cda2e9b17..e49581c06d 100644 --- a/modules/cache/mod_cache.c +++ b/modules/cache/mod_cache.c @@ -1190,8 +1190,8 @@ static apr_status_t cache_save_filter(ap_filter_t *f, apr_bucket_brigade *in) ap_log_rerror(APLOG_MARK, APLOG_INFO, 0, r, APLOGNO(02473) "cache: %s responded with an uncacheable 304, " - "retrying the request. Reason: %s", - r->unparsed_uri, reason); + "retrying the request %s. Reason: %s", + cache->key, r->unparsed_uri, reason); /* we've got a cache conditional miss! tell anyone who cares */ cache_run_cache_status(cache->handle, r, r->headers_out, AP_CACHE_MISS, @@ -1225,8 +1225,8 @@ static apr_status_t cache_save_filter(ap_filter_t *f, apr_bucket_brigade *in) if (reason) { ap_log_rerror(APLOG_MARK, APLOG_DEBUG, 0, r, APLOGNO(00768) - "cache: %s not cached. Reason: %s", r->unparsed_uri, - reason); + "cache: %s not cached for request %s. Reason: %s", + cache->key, r->unparsed_uri, reason); /* we've got a cache miss! tell anyone who cares */ cache_run_cache_status(cache->handle, r, r->headers_out, AP_CACHE_MISS, @@ -1344,7 +1344,8 @@ static apr_status_t cache_save_filter(ap_filter_t *f, apr_bucket_brigade *in) } ap_log_rerror(APLOG_MARK, APLOG_DEBUG, 0, r, APLOGNO(00769) - "cache: Caching url: %s", r->unparsed_uri); + "cache: Caching url %s for request %s", + cache->key, r->unparsed_uri); /* We are actually caching this response. So it does not * make sense to remove this entity any more. |