You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by Allistair Crossley <Al...@QAS.com> on 2004/05/20 17:22:48 UTC
RE: log4j:ERROR Failed to rename [../logs/performance.log] to
[../logs/performance.log.2004-05-04].
Hello,
Yes we are Windows 2000 (not my fault ;), I would rather Linux) however be impressed that I have convinced the internet ASP team to switch to J2EE.
I don't suppose you know of how to look for what process could be holding the files? This is nice and easy in UNIX of course ;) I have tried restarts of Tomcat but the locks are not released, nor can I even think why locks would be on these files .. it happens on all 9 logs.
Thanks! ADC
-----Original Message-----
From: Ceki Gülcü [mailto:ceki@qos.ch]
Sent: 20 May 2004 16:13
To: Log4J Users List
Subject: Re: log4j:ERROR Failed to rename [../logs/performance.log] to
[../logs/performance.log.2004-05-04].
There is probably another process holding on to ../logs/performance.log.
You are running on Windows I suppose.
At 04:45 PM 5/20/2004, Allistair Crossley wrote:
>Hi All
>
>We are losing production logging data I have discovered due to Log4J not >being able to rename logs. I have not the slightest idea why this would >start happening last week, we have successfully been running log4j for a >month with the rolled files being created.
>
>log4j:ERROR Failed to rename [../logs/performance.log] to
>[../logs/performance.log.2004-05-04].
>log4j:ERROR Failed to rename [../logs/application.log] to
>[../logs/application.log.2004-05-04].
>log4j:ERROR Failed to rename [../logs/authentication.log] to
>[../logs/authentication.log.2004-05-04].
>
>You help appreciated, and rather urgent if it makes a different :)
>
>Cheers!! ADC.
>
--
Ceki Gülcü
For log4j documentation consider "The complete log4j manual"
ISBN: 2970036908 http://www.qos.ch/shop/products/clm_t.jsp
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org
<FONT SIZE=1 FACE="VERDANA,ARIAL" COLOR=BLUE>
-------------------------------------------------------
QAS Ltd.
Developers of QuickAddress Software
<a href="http://www.qas.com">www.qas.com</a>
Registered in England: No 2582055
Registered in Australia: No 082 851 474
-------------------------------------------------------
</FONT>
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org
RE: log4j:ERROR Failed to rename [../logs/performance.log] to
[../logs/performance.log.2004-05-04].
Posted by Ceki Gülcü <ce...@qos.ch>.
At 05:22 PM 5/20/2004, you wrote:
>Hello,
>
>Yes we are Windows 2000 (not my fault ;), I would rather Linux) however be
>impressed that I have convinced the internet ASP team to switch to J2EE.
>
>I don't suppose you know of how to look for what process could be holding
>the files? This is nice and easy in UNIX of course ;) I have tried
>restarts of Tomcat but the locks are not released, nor can I even think
>why locks would be on these files .. it happens on all 9 logs.
Have you recycled or redeployed the web application in question? If you
did, you have to make sure that it calls the LogManager.shutdown() method.
>Thanks! ADC
--
Ceki Gülcü
For log4j documentation consider "The complete log4j manual"
ISBN: 2970036908 http://www.qos.ch/shop/products/clm_t.jsp
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org