You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Lars Nielsen Lind <so...@tidtilforandring.dk> on 2006/08/10 09:20:22 UTC
Measuring traffic pr. virtualhost
Hi.
I need to measure the traffic pr. month/year for each virtualhost. How
can I do that with Apache/Tomcat?
Lars Nielsen Lind
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Measuring traffic pr. virtualhost
Posted by Mark Eggers <it...@yahoo.com>.
If you want to do logging on at the Engine, Host, or
Context level, then you can use the access logging
valve in Tomcat. Configuration information can be
found here:
http://tomcat.apache.org/tomcat-5.5-doc/config/valve.html
Note that if you serve static material with a
front-end Apache server, that will NOT be logged by
the access logging valve (obviously).
If you use mod_jk in Apache 2.0 (or I assume
mod_proxy_ajp in Apache 2.2), then the web server can
log everything. Just set up a log file per each
VirtualHost.
There is a lot of documentation in the httpd.conf file
and in the Apache manual for setting up logging on
Apache.
The Tomcat logs are in the Apache common format (by
default). There are many web statistics packages that
will parse and analyze these files.
If you want more detailed help, I would be happy to
correspond with you off the mailing list, since log
configurations for the Apache web server are probably
not on topic here.
/mde/
Just my two cents . . . .
--- Lars Nielsen Lind <so...@tidtilforandring.dk> wrote:
> Hi.
>
> I need to measure the traffic pr. month/year for
> each virtualhost. How
> can I do that with Apache/Tomcat?
>
> Lars Nielsen Lind
>
>
---------------------------------------------------------------------
> To start a new topic, e-mail:
> users@tomcat.apache.org
> To unsubscribe, e-mail:
> users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail:
> users-help@tomcat.apache.org
>
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org