]
James Perkins closed LOGMGR-97.
-------------------------------
Resolution: Out of Date
I'm closing this as out of date as it should be fixed in several of the other
releases.
AS6 org.jboss.logmanager.handlers.SizeRotatingFileHandler bug
-------------------------------------------------------------
Key: LOGMGR-97
URL:
https://issues.jboss.org/browse/LOGMGR-97
Project: JBoss Log Manager
Issue Type: Bug
Reporter: Ivan Chupakhin
Priority: Major
method preWrite :
for (int i = maxBackupIndex - 1; i > 1; i--)
{
new File(file.getAbsolutePath() + "." + i).renameTo(new c
File(file.getAbsolutePath() + "." + (i - 1)));
}
Logical error while renaming log files, the arguments of renameTo function are passed in
the wrong order.