tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <oh...@cox.net>
Subject Re: Re: How to Enable Logging HTTP Requests (Tomcat standalone)?
Date Thu, 01 Jan 1970 00:00:00 GMT

> 
> In 5.0.28 the accessLogValve is already configured for you.  You just
> need to uncommment it in your server.xml file.
> 
> 
> <!-- Access log processes all requests for this virtual host.  By
>      default, log files are created in the "logs" directory relative to
>      $CATALINA_HOME.  If you wish, you can specify a different
>      directory with the "directory" attribute.  Specify either a relative
>      (to $CATALINA_HOME) or absolute path to the desired directory.
> -->
>      <Valve className="org.apache.catalina.valves.AccessLogValve"
>             directory="logs"  prefix="localhost_access_log." suffix=".txt"
>             pattern="common" resolveHosts="false"/>
> 


Ben,

Thanks.  Unfortunately, and I have to apologize for this omission, I forgot to mention that
I'm working with Tomcat 4.1.31.  Also unfortunately, that's the only version that I can work
with, for some specific reasons...

For V4.1.31, is there any similar capability?

Jim


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message