httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jerenkra...@apache.org
Subject cvs commit: httpd-2.0/modules/experimental mod_disk_cache.c
Date Thu, 05 Aug 2004 08:27:24 GMT
jerenkrantz    2004/08/05 01:27:24

  Modified:    modules/experimental mod_disk_cache.c
  Log:
  mod_disk_cache: Produce slightly more informative log messages and at more
  appropriate levels.  (LogLevel info will now only inform you when you are
  storing a cache item.  debug is required to show what is being served from
  cache.)
  
  Revision  Changes    Path
  1.56      +8 -8      httpd-2.0/modules/experimental/mod_disk_cache.c
  
  Index: mod_disk_cache.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/experimental/mod_disk_cache.c,v
  retrieving revision 1.55
  retrieving revision 1.56
  diff -u -u -r1.55 -r1.56
  --- mod_disk_cache.c	3 Aug 2004 08:20:21 -0000	1.55
  +++ mod_disk_cache.c	5 Aug 2004 08:27:24 -0000	1.56
  @@ -344,11 +344,11 @@
           h->remove_entity = &remove_entity;
   
           ap_log_error(APLOG_MARK, APLOG_INFO, 0, r->server,
  -                     "disk_cache: Caching URL %s",  key);
  +                     "disk_cache: Storing URL %s",  key);
       }
       else {
           ap_log_error(APLOG_MARK, APLOG_INFO, 0, r->server,
  -                     "disk_cache: Could not cache URL %s [%d]", key, rv);
  +                     "disk_cache: Could not store URL %s [%d]", key, rv);
   
           return DECLINED;
       }
  @@ -443,8 +443,8 @@
       h->store_headers = &store_headers;
       h->remove_entity = &remove_entity;
   
  -    ap_log_error(APLOG_MARK, APLOG_INFO, 0, r->server,
  -                 "disk_cache: Serving Cached URL %s",  dobj->name);
  +    ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, r->server,
  +                 "disk_cache: Recalled cached URL info header %s",  dobj->name);
       return OK;
   }
   
  @@ -518,8 +518,8 @@
   
       apr_file_close(dobj->hfd);
   
  -    ap_log_error(APLOG_MARK, APLOG_INFO, 0, r->server,
  -                 "disk_cache: Served headers for URL %s",  dobj->name);
  +    ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, r->server,
  +                 "disk_cache: Recalled headers for URL %s",  dobj->name);
       return APR_SUCCESS;
   }
   
  @@ -640,8 +640,8 @@
           /* XXX log message */
       }
   
  -    ap_log_error(APLOG_MARK, APLOG_INFO, 0, r->server,
  -                 "disk_cache: Caching headers for URL %s",  dobj->name);
  +    ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, r->server,
  +                 "disk_cache: Stored headers for URL %s",  dobj->name);
       return APR_SUCCESS;
   }
   
  
  
  

Mime
View raw message