You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by mi...@apache.org on 2013/05/01 22:06:57 UTC

svn commit: r1478173 - in /httpd/httpd/trunk: docs/log-message-tags/next-number modules/cache/cache_storage.c modules/cache/mod_cache.c

Author: minfrin
Date: Wed May  1 20:06:57 2013
New Revision: 1478173

URL: http://svn.apache.org/r1478173
Log:
Apply log message tags to messages.

Modified:
    httpd/httpd/trunk/docs/log-message-tags/next-number
    httpd/httpd/trunk/modules/cache/cache_storage.c
    httpd/httpd/trunk/modules/cache/mod_cache.c

Modified: httpd/httpd/trunk/docs/log-message-tags/next-number
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/log-message-tags/next-number?rev=1478173&r1=1478172&r2=1478173&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/log-message-tags/next-number (original)
+++ httpd/httpd/trunk/docs/log-message-tags/next-number Wed May  1 20:06:57 2013
@@ -1 +1 @@
-2461
+2471

Modified: httpd/httpd/trunk/modules/cache/cache_storage.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/cache/cache_storage.c?rev=1478173&r1=1478172&r2=1478173&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/cache/cache_storage.c (original)
+++ httpd/httpd/trunk/modules/cache/cache_storage.c Wed May  1 20:06:57 2013
@@ -710,7 +710,7 @@ int cache_invalidate(cache_request_rec *
             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 *
                 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 *
                 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;

Modified: httpd/httpd/trunk/modules/cache/mod_cache.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/cache/mod_cache.c?rev=1478173&r1=1478172&r2=1478173&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/cache/mod_cache.c (original)
+++ httpd/httpd/trunk/modules/cache/mod_cache.c Wed May  1 20:06:57 2013
@@ -121,7 +121,7 @@ static int cache_quick_handler(request_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(02461)
                 "PUT/POST/DELETE: Adding CACHE_INVALIDATE filter for %s",
                 r->uri);
 
@@ -141,7 +141,7 @@ static int cache_quick_handler(request_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(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_fil
          * 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);