Hi Tomcat users, I have been unsuccessfully trying to remove the date from catalina’s log file name. My ultimate goal is to logrotate the file, which is best done when the file name is static. According to the FileHandler javadoc ( http://tomcat.apache.org/tomcat-6.0-doc/api/org/apache/juli/FileHandler.html ) I should be able to configure *.org.apache.juli.FileHandler.rotatable in ${catalina.base}/conf/logging.properties to toggle date based file names, but that is not working.
It seems like I could fix this by using log4j but I'm not sure if the application is logging directly to JULI or commons-logging. Regardless, I do not have access to modify it. I would like to continue to use the default JULI logger since it is already in use. Judging by the docs what I'm trying to do should be possible. I’m positive the logging.properties file is being read because when I change the prefix and suffix they are applied upon restart. I’ve pasted my logging.properties and sample output in this gist: http://git.io/99qidw Anyone can wget the raw logging.properties and download tomcat from the archives to reproduce. I would appreciate it if someone could point me in the right direction. I’ve been referencing http://tomcat.apache.org/tomcat-6.0-doc/logging.html. Tomcat version: http://archive.apache.org/dist/tomcat/tomcat-6/v6.0.20/bin/ Thank you. -- -Vye --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org