diff options
author | Graham Leggett <minfrin@apache.org> | 2013-05-01 22:06:57 +0200 |
---|---|---|
committer | Graham Leggett <minfrin@apache.org> | 2013-05-01 22:06:57 +0200 |
commit | d32086bb4cfa9c02561aee17defa5c484395ae95 (patch) | |
tree | d65e8daf7adbfa3b5e829fc2a0d962731a7bfa63 /modules/cache | |
parent | mod_cache: Invalidate cached entities in response to RFC2616 Section (diff) | |
download | apache2-d32086bb4cfa9c02561aee17defa5c484395ae95.tar.xz apache2-d32086bb4cfa9c02561aee17defa5c484395ae95.zip |
Apply log message tags to messages.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1478173 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/cache')
-rw-r--r-- | modules/cache/cache_storage.c | 6 | ||||
-rw-r--r-- | modules/cache/mod_cache.c | 14 |
2 files changed, 10 insertions, 10 deletions
diff --git a/modules/cache/cache_storage.c b/modules/cache/cache_storage.c index a68d860a61..f4f7f39cd4 100644 --- a/modules/cache/cache_storage.c +++ b/modules/cache/cache_storage.c @@ -710,7 +710,7 @@ int cache_invalidate(cache_request_rec *cache, request_rec *r) status = OK; } ap_log_rerror( - APLOG_MARK, APLOG_DEBUG, rv, r, APLOGNO() "cache: Attempted to invalidate cached entity with key: %s", cache->key); + APLOG_MARK, APLOG_DEBUG, rv, r, APLOGNO(02468) "cache: Attempted to invalidate cached entity with key: %s", cache->key); /* invalidate the Location */ if (location_key) { @@ -720,7 +720,7 @@ int cache_invalidate(cache_request_rec *cache, request_rec *r) status = OK; } ap_log_rerror( - APLOG_MARK, APLOG_DEBUG, rv, r, APLOGNO() "cache: Attempted to invalidate cached entity with key: %s", location_key); + APLOG_MARK, APLOG_DEBUG, rv, r, APLOGNO(02469) "cache: Attempted to invalidate cached entity with key: %s", location_key); } /* invalidate the Content-Location */ @@ -731,7 +731,7 @@ int cache_invalidate(cache_request_rec *cache, request_rec *r) status = OK; } ap_log_rerror( - APLOG_MARK, APLOG_DEBUG, rv, r, APLOGNO() "cache: Attempted to invalidate cached entity with key: %s", content_location_key); + APLOG_MARK, APLOG_DEBUG, rv, r, APLOGNO(02470) "cache: Attempted to invalidate cached entity with key: %s", content_location_key); } list = list->next; diff --git a/modules/cache/mod_cache.c b/modules/cache/mod_cache.c index 3e29340d4f..e6964eba32 100644 --- a/modules/cache/mod_cache.c +++ b/modules/cache/mod_cache.c @@ -121,7 +121,7 @@ static int cache_quick_handler(request_rec *r, int lookup) case M_DELETE: { - ap_log_rerror(APLOG_MARK, APLOG_DEBUG, APR_SUCCESS, r, APLOGNO() + ap_log_rerror(APLOG_MARK, APLOG_DEBUG, APR_SUCCESS, r, APLOGNO(02461) "PUT/POST/DELETE: Adding CACHE_INVALIDATE filter for %s", r->uri); @@ -141,7 +141,7 @@ static int cache_quick_handler(request_rec *r, int lookup) default : { ap_log_rerror( - APLOG_MARK, APLOG_DEBUG, APR_SUCCESS, r, APLOGNO() "cache: Method '%s' not cacheable by mod_cache, ignoring: %s", r->method, r->uri); + APLOG_MARK, APLOG_DEBUG, APR_SUCCESS, r, APLOGNO(02462) "cache: Method '%s' not cacheable by mod_cache, ignoring: %s", r->method, r->uri); return DECLINED; } @@ -409,7 +409,7 @@ static int cache_handler(request_rec *r) case M_DELETE: { - ap_log_rerror(APLOG_MARK, APLOG_DEBUG, APR_SUCCESS, r, APLOGNO() + ap_log_rerror(APLOG_MARK, APLOG_DEBUG, APR_SUCCESS, r, APLOGNO(02463) "PUT/POST/DELETE: Adding CACHE_INVALIDATE filter for %s", r->uri); @@ -429,7 +429,7 @@ static int cache_handler(request_rec *r) default : { ap_log_rerror( - APLOG_MARK, APLOG_DEBUG, APR_SUCCESS, r, APLOGNO() "cache: Method '%s' not cacheable by mod_cache, ignoring: %s", r->method, r->uri); + APLOG_MARK, APLOG_DEBUG, APR_SUCCESS, r, APLOGNO(02464) "cache: Method '%s' not cacheable by mod_cache, ignoring: %s", r->method, r->uri); return DECLINED; } @@ -1574,20 +1574,20 @@ static apr_status_t cache_invalidate_filter(ap_filter_t *f, * 1. Remove ourselves * 2. Do nothing and bail out */ - ap_log_rerror(APLOG_MARK, APLOG_DEBUG, 0, r, APLOGNO() + ap_log_rerror(APLOG_MARK, APLOG_DEBUG, 0, r, APLOGNO(02465) "cache: CACHE_INVALIDATE enabled unexpectedly: %s", r->uri); } else { if (r->status > 299) { - ap_log_rerror(APLOG_MARK, APLOG_DEBUG, 0, r, APLOGNO() + ap_log_rerror(APLOG_MARK, APLOG_DEBUG, 0, r, APLOGNO(02466) "cache: response status to '%s' method is %d (>299), not invalidating cached entity: %s", r->method, r->status, r->uri); } else { - ap_log_rerror(APLOG_MARK, APLOG_DEBUG, APR_SUCCESS, r, APLOGNO() + ap_log_rerror(APLOG_MARK, APLOG_DEBUG, APR_SUCCESS, r, APLOGNO(02467) "cache: Invalidating all cached entities in response to '%s' request for %s", r->method, r->uri); |