Re: Rotating Tomcat-Logs

2010-10-22 Thread Konstantin Kolinko
2010/10/21 André Warnier : > > Anyway, I am interested in finding a scheme, based on JULI, and which : > - would generally-speaking start by directing ALL Tomcat logs to one single > file, NOT rotated by JULI You can use the java.util.logging.FileHandler class provided by JRE. > - would use the s

Re: Rotating Tomcat-Logs

2010-10-22 Thread Tobias Crefeld
Am Thu, 21 Oct 2010 11:13:53 +0200 schrieb André Warnier : > In addition, it is somewhat of a moving target, since Linux > distributions seem to each superpose their own schemes to the > standard Tomcat scheme (like using jsvc, and/or re-directing to > SYSLOG e.g.). Today this is necessary becaus

Re: Rotating Tomcat-Logs

2010-10-21 Thread André Warnier
Tobias Crefeld wrote: We have problems to manage Tomcats Logs. Logfiles like catalina.out or application specific logging is not the problem, but there are some files that are created each day new by tomcat (Tomcat-6): localhost.2010-02-27.log manager.2010-02-16.log host-manager.2009-08-30.log

Rotating Tomcat-Logs

2010-10-21 Thread Tobias Crefeld
We have problems to manage Tomcats Logs. Logfiles like catalina.out or application specific logging is not the problem, but there are some files that are created each day new by tomcat (Tomcat-6): localhost.2010-02-27.log manager.2010-02-16.log host-manager.2009-08-30.log admin.2010-07-10.log

Re: rotating tomcat logs

2006-02-01 Thread Francis Galiegue
2006/2/1, Tim Lucia <[EMAIL PROTECTED]>: > I use log4j as the logging implementation, and then chose the > RollingFileAppender (Daily or Size--your choice) > Or use logrotate (that is, if you use some Unix variant and the program exists). -- Francis Galiegue, [EMAIL PROTECTED], [EMAIL PROTECTED],

RE: rotating tomcat logs

2006-01-31 Thread Tim Lucia
I use log4j as the logging implementation, and then chose the RollingFileAppender (Daily or Size--your choice) Tim -Original Message- From: Patrick Ward [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 31, 2006 7:39 PM To: users@tomcat.apache.org Subject: rotating tomcat logs Does

rotating tomcat logs

2006-01-31 Thread Patrick Ward
Does Tomcat have a directive for rotating logs? I would like to rotate out the following logs: admin.log catalina.log host-manager.log localhost.log localhost_access_log manager.log or do I need to rotate them out manually, e.g. cp -p admin.log admin.`date +%Y-%m-%d`.log cat /dev/null > admin.