httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <jsl...@gmail.com>
Subject Re: [users@httpd] mod_proxy question: hit/miss ratio
Date Mon, 23 May 2005 18:52:14 GMT
On 5/23/05, john doe <johndoe2k@gmail.com> wrote:
> I assume this is the right place to ask mod_proxy related question
> unless somebody points me to a more appropricate one...
> After playing with mod_proxy for a while, the only log files I got are
> access.log and error.log. I'm wondering if it's possible to find out
> the hit/miss ratio of the cache for all the requests? I mean, for each
> individual request, the information is available through X-Cache
> header in response. But that information doesn't seems to be available
> through access.log for example. Maybe access.log can be customized to
> do just that?

See:
http://httpd.apache.org/docs-2.0/mod/mod_log_config.html#formats

Any response header can be included in the logs using %{header}o.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message