[jboss-jira] [JBoss JIRA] (JBAS-9504) SizeRotatingFileHandler bug
Ivan Chupakhin (JIRA)
jira-events at lists.jboss.org
Wed Jul 18 09:55:06 EDT 2012
Ivan Chupakhin created JBAS-9504:
------------------------------------
Summary: SizeRotatingFileHandler bug
Key: JBAS-9504
URL: https://issues.jboss.org/browse/JBAS-9504
Project: Application Server 3 4 5 and 6
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Logging
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: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list