From d32086bb4cfa9c02561aee17defa5c484395ae95 Mon Sep 17 00:00:00 2001 From: Graham Leggett Date: Wed, 1 May 2013 20:06:57 +0000 Subject: [PATCH] Apply log message tags to messages. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1478173 13f79535-47bb-0310-9956-ffa450edef68 --- docs/log-message-tags/next-number | 2 +- modules/cache/cache_storage.c | 6 +++--- modules/cache/mod_cache.c | 14 +++++++------- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/docs/log-message-tags/next-number b/docs/log-message-tags/next-number index ea5f1c5174..42adba679f 100644 --- a/docs/log-message-tags/next-number +++ b/docs/log-message-tags/next-number @@ -1 +1 @@ -2461 +2471 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); -- 2.40.0