tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "neal" <>
Subject RE: Tomcat standalone - traffic logs???
Date Wed, 30 Oct 2002 12:40:29 GMT
Excellent!  Thanks!


-----Original Message-----
From: Luc Santeramo []
Sent: Wednesday, October 30, 2002 2:22 AM
To: Tomcat Users List
Subject: Re: Tomcat standalone - traffic logs???

At 03:14 30/10/2002  -0800, you wrote:
>I'm using Tomcat Standalone and I would like to be able to process my logs
>to determine traffic trends on my site. I have webalizer and can use it to
>parse the logs.
>The problem though, is that I was looking at the logs being generated form
>tomcat and these logs don't seem to have any traffic info in them.  The
>info such as what happened when the server started, etc ... but I'm not
>seeing each page request being logged.  And, I'm not seeing IP addresses
>(which I presume is needed to determine unique users) being logged.
>Anyone know how to setup tomcat standalone logs to provide the information,
>and to do so cleanly so that the info can be consumer by Webalizer?


have a look to $CATALINA_HOME/logs/localhost_access_log.YYYY-MM-DD.txt

check your server.xml file for

  <Valve className="org.apache.catalina.valves.AccessLogValve"
                  directory="logs"  prefix="localhost_access_log."

maybe you'll have to change the pattern to "combined"...


To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message