Re: [commons-logging] Problem renaming logfiles

2005-04-01 Thread Simon Kitching
Hi Jeroen, Jeroen Verhagen wrote: I using commons-logging with log4j in my webapp. I'm using a DailyRollingFileAppender and every morning when I start developping I get the following message in my Tomcat console: log4j:ERROR Failed to rename [logfile.txt] to ... I did some investigation using the

Re: [commons-logging] Problem renaming logfiles

2005-04-01 Thread Jeroen Verhagen
Hi Simon, On Apr 1, 2005 3:12 PM, Simon Kitching [EMAIL PROTECTED] wrote: In general, I would recommend LogFactory.release(Thread.currentThread().getContextClassLoader()); be called on contextDestroyed in order to clean up commons-logging resources for a specific webapp. In the case of

RE: [commons-logging] Problem renaming logfiles

2005-03-31 Thread Alfredo Ledezma Melendez
Good morning, I had the same problem before on a test environment (Tomcat running locally on a Winbugs XP machine)...every day the same problem. At that moment, being to damn stressed, I try the same code on a Linux box, and no problem at all renaming. To solve the problem in my test