httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ruediger Pluem <rpl...@apache.org>
Subject Re: mod_cache debug request
Date Tue, 06 Dec 2005 21:11:33 GMT


On 12/06/2005 07:55 PM, Brian Akins wrote:
> Can we have mod_cache (and its providers) log why it didn't serve an
> object from cache in debug?
> First entry I see when requesting an object I know is cached is:
> 
> [Tue Dec 06 13:53:55 2005] [debug] mod_cache.c(129): Adding CACHE_SAVE
> filter for /cnn/1.gif
> 
> no reason why we chose not to serve from cache...

There are already some log messages (DEBUG and ERROR) in cache_select of
cache_storage.c.

I have to admit that not all reasons to decline serving an object from the cache
emit an message. Feel free to add some more to cache_select and sent a patch.
I will review and commit it.


Regards

RĂ¼diger



Mime
View raw message