If you don't want access log valve to rotate, use rotatable="false"

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



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to