[
https://issues.jboss.org/browse/JBAS-9504?page=com.atlassian.jira.plugin....
]
David Lloyd commented on JBAS-9504:
-----------------------------------
What AS version was this seen in? Which SizeRotatingFileHandler class (please give the
fully qualified name)?
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