]> granicus.if.org Git - apache/commitdiff
Apply log message tags to messages.
authorGraham Leggett <minfrin@apache.org>
Wed, 1 May 2013 20:06:57 +0000 (20:06 +0000)
committerGraham Leggett <minfrin@apache.org>
Wed, 1 May 2013 20:06:57 +0000 (20:06 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1478173 13f79535-47bb-0310-9956-ffa450edef68

docs/log-message-tags/next-number
modules/cache/cache_storage.c
modules/cache/mod_cache.c

index ea5f1c5174eccc52e7a1e2adc45b537c6cc914b5..42adba679f51ea952bd60d386efe4847c9d235ba 100644 (file)
@@ -1 +1 @@
-2461
+2471
index a68d860a613751969406a69c12376014068b31b2..f4f7f39cd4ff7b9922dcc6a6807a343f9c15195c 100644 (file)
@@ -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;
index 3e29340d4fac2c1e18e84209b3a0a84c91e2f6ed..e6964eba32bcee3298e1bc06f707a391d17aa4f8 100644 (file)
@@ -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);