You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by st...@apache.org on 2002/12/18 22:03:30 UTC

cvs commit: httpd-2.0/modules/experimental mod_mem_cache.c

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;
           }