tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Souther <...@souther.us>
Subject Re: Re: How to Enable Logging HTTP Requests (Tomcat standalone)?
Date Wed, 15 Dec 2004 15:14:48 GMT
I don't have a copy handy but did you look at the server.xml?


On Wed, 2004-12-15 at 09:45, ohaya@cox.net wrote:
> > 
> > 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
> 
> 
> 


---------------------------------------------------------------------
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