Your best bet is using a time based or sized based rolling appender.
James Stauffer -----Original Message----- From: Chapoor Chapoor [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 11, 2005 11:11 AM To: log4j-user@logging.apache.org Subject: clean log without restart Hi I create an application log file and start all logging but sometimes I wish to clean the logs. The problem is they are "locked" so... could some "clean" log files without restart the app server ? thanks --------------------------------------------------------------------- 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]