]
James Perkins reassigned LOGMGR-97:
-----------------------------------
Assignee: (was: James Perkins)
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
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.