Just a suggestion, it would be a good idea to use a RollingFileAppender rather than logging everything to one big file. You'll have no problems deleting the files that have rolled over.
> -----Original Message----- > From: Antony Paul [mailto:[EMAIL PROTECTED] > Sent: Wednesday, December 17, 2003 6:24 AM > To: log4j mail list > Subject: Tomcat log4j . > > > Hi all, > I am using Tomcat 4.1.27 + log4j 1.2.8+Win2k sp4. I have > some problems > with it. > 1, Log4j locks the log file so that I cannot clear the > content of the file. > After some time I want to delete old debugging data while development. > Currently I am doing it by shutting down Tomcat. It is time > consuming job. > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]