2013/1/24 Alan Worstell <aworst...@a-1networks.com>: > Hello, > I'm using Tomcat 6.0.24-2ubuntu1.10 on Ubuntu 10.04.4 and I am trying to > disable datestamping and rotation of log files within Tomcat so I can use > logrotate for everything. > I have added these lines to /etc/tomcat6/logging.properties: > 1catalina.org.apache.juli.FileHandler.rotatable = false > 2localhost.org.apache.juli.FileHandler.rotatable = false > > From what I have read, this will set those files to be written as > prefix.suffix, rather than prefix.date.suffix as it does by default. > However, when I reload Tomcat after setting this, it is creating: > catalina.2013-01-23.log > localhost.2013-01-23.log >
1. 6.0.24 is old and has known security issues 2. Support for "rotatable=false" is implemented in 6.0.33 and later https://issues.apache.org/bugzilla/show_bug.cgi?id=49180 3. You can use java.util.logging.FileHandler in Tomcat logging in exactly the same way as JULI FileHandler. Note that it has different configuration options, see JDK docs for details. 4. I do not know whether "/etc/tomcat6/logging.properties" is the correct file. It is up to you to check that it is actually used. Best regards, Konstantin Kolinko --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org