logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Curt Arnold <carn...@apache.org>
Subject Re: Problem with renaming files
Date Wed, 10 Oct 2007 14:58:51 GMT
Have you upgraded to log4j-1.2.15?  That should eliminate the loss of  
earlier messages on a failed rename.

Then you need to figure out why the rename is failing.  Are each of  
your web applications writing log files in a different location?  It  
appears you are attempting that in your configuration file, but is  
that actually happening.  If you have multiple apps writing to the  
same location, bad things are likely to happen.  You could use lsof  
on 'nix or Unlocker or SysInternal's Process Monitor on Windows to  
see what processes may have the file open.

If not, are the privileges set so that the account that is running  
Tomcat has the necessary rights to rename the file.

Does the target file exist, if so they access control should be set  
to allow log4j to delete the file.

To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org

View raw message