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 <[EMAIL PROTECTED]> 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:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 


__________________________________________________
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to