tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lemke, Michael IZ/HZA-IOR" <lemke...@de.ina.com>
Subject RE: Logfiles in TC4.1.30
Date Thu, 16 Sep 2004 13:09:25 GMT
> -----Original Message-----
> From: Tim Funk 
> Sent: Thursday, September 16, 2004 2:57 PM
> To: Tomcat Users List
> Subject: Re: Logfiles in TC4.1.30
> 
> 
> If you don't want access log valve to rotate, use rotatable="false"

Hey, cool.  That helps a lot.  Thanks.  Together with Yoav's reply
below I'll probably get it where I need it.

Thanks,
Michael

> 
> -Tim
> 
> Lemke, Michael IZ/HZA-IOR wrote:
> 
> >>-----Original Message-----
> >>From: Shapira, Yoav 
> >>Sent: Thursday, September 16, 2004 2:29 PM
> >>To: Tomcat Users List
> >>Subject: RE: Logfiles in TC4.1.30
> >>
> >>
> >>
> >>Hi,
> >>
> >>
> >>>I am about to set up a TC4.1.30 for production.  Unlike TC3.3 TC4.1
> >>
> >>creates
> >>
> >>>all logfiles with timestamps in the file name and creates 
> a new file
> >>
> >>every
> >>
> >>>night.  How do turn this off?  It interferes with out 
> logfile policy.
> >>
> >>You would have to turn off (comment out) all the Logger 
> >>elements in your
> >>server.xml.  That means all logging output will go to standard out,
> >>which by default is $CATALINA_HOME/logs/catalina.out.  That 
> >>file is not
> >>rotated or time-stamped, so maybe that will fit your logging policy
> >>better.
> > 
> > 
> > Thanks.  But that would mean I can't use AccessLog either, right?
> > Not exactly what I need.
> > 
> > 
> > 
> >>If you want to keep using the Tomcat Loggers, you can't control the
> >>rollover behavior.  
> > 
> > 
> > Has this been fixed in TC5?
> > 
> > 
> >>You'd have to extend FileLogger into a customized
> >>version.  See the Logger configuration reference page at
> >>http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/logger.html.
> >>
> >>Yoav
> >>
> >>
> >>
> >>This e-mail, including any attachments, is a confidential 
> >>business communication, and may contain information that is 
> >>confidential, proprietary and/or privileged.  This e-mail is 
> >>intended only for the individual(s) to whom it is addressed, 
> >>and may not be saved, copied, printed, disclosed or used by 
> >>anyone else.  If you are not the(an) intended recipient, 
> >>please immediately delete this e-mail from your computer 
> >>system and notify the sender.  Thank you.
> >>
> > 
> > 
> > Why do you post that to a public forum?
> >  
> > 
> > Michael
> > 
> > 
> ---------------------------------------------------------------------
> > 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
> 

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