Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Apache: Bugs

[Bug 48241] mod_cache is missing hit/miss indication to the error log/env vars

 

 

Apache bugs RSS feed   Index | Next | Previous | View Threaded


bugzilla at apache

Nov 20, 2009, 9:40 AM

Post #1 of 2 (387 views)
Permalink
[Bug 48241] mod_cache is missing hit/miss indication to the error log/env vars

https://issues.apache.org/bugzilla/show_bug.cgi?id=48241

Kevin J Walters <kjw [at] ms> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |kjw [at] ms

--- Comment #1 from Kevin J Walters <kjw [at] ms> 2009-11-20 09:40:48 UTC ---
From a performance analysis point of view, I agree that it would be great to be
able to add information on cache use in the access log including information
about revalidation with the the origin web server (for mod_proxy'd content).

Is r->notes the natural place for additional information that users may wish to
add to LogFormat via %{thingy}n?

--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe [at] httpd
For additional commands, e-mail: bugs-help [at] httpd


bugzilla at apache

Nov 25, 2009, 5:21 PM

Post #2 of 2 (334 views)
Permalink
[Bug 48241] mod_cache is missing hit/miss indication to the error log/env vars [In reply to]

https://issues.apache.org/bugzilla/show_bug.cgi?id=48241

--- Comment #2 from Paul Querna <chip [at] force-elite> 2009-11-25 17:21:53 UTC ---
You can use SetEnv to detect cache misses today:
<http://alex.polvi.net/2008/12/04/getting-cache-statistics-with-mod_cache/>

Add this to your config:
SetEnv CACHE_MISS 1

Log like this:
%{CACHE_MISS}e

This could be documented better, but it 'works' today without any extra code.

--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe [at] httpd
For additional commands, e-mail: bugs-help [at] httpd

Apache bugs RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.