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
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
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
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
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],
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
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.