[
https://issues.jboss.org/browse/LOGMGR-97?page=com.atlassian.jira.plugin....
]
David Lloyd moved JBAS-9504 to LOGMGR-97:
-----------------------------------------
Project: JBoss Log Manager (was: Application Server 3 4 5 and 6)
Key: LOGMGR-97 (was: JBAS-9504)
Workflow: GIT Pull Request workflow (was: classic default workflow)
Component/s: (was: Logging)
Security: Public (was: Public)
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
Security Level: Public(Everyone can see)
Reporter: Ivan Chupakhin
Assignee: David Lloyd
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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira