httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stodd...@apache.org
Subject cvs commit: httpd-2.0/modules/experimental mod_mem_cache.c
Date Wed, 18 Dec 2002 21:03:30 GMT
stoddard    2002/12/18 13:03:30

  Modified:    modules/experimental mod_mem_cache.c
  Log:
  Cut an info log entry for each object we cache. Is this too much to log?
  
  Revision  Changes    Path
  1.90      +4 -0      httpd-2.0/modules/experimental/mod_mem_cache.c
  
  Index: mod_mem_cache.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/experimental/mod_mem_cache.c,v
  retrieving revision 1.89
  retrieving revision 1.90
  diff -u -r1.89 -r1.90
  --- mod_mem_cache.c	18 Dec 2002 15:07:21 -0000	1.89
  +++ mod_mem_cache.c	18 Dec 2002 21:03:30 -0000	1.90
  @@ -953,6 +953,8 @@
               apr_os_file_get(&(mobj->fd), tmpfile);
   
               /* Open for business */
  +            ap_log_error(APLOG_MARK, APLOG_INFO, 0, r->server,
  +                         "mem_cache: Cached file: %s with key: %s", name, obj->key);
               obj->complete = 1;
               return APR_SUCCESS;
           }
  @@ -1009,6 +1011,8 @@
                   }
               }
               /* Open for business */
  +            ap_log_error(APLOG_MARK, APLOG_INFO, 0, r->server,
  +                         "mem_cache: Cached url: %s", obj->key);
               obj->complete = 1;
               break;
           }
  
  
  

Mime
View raw message