[jboss-jira] [JBoss JIRA] (JBAS-9504) AS6 org.jboss.logmanager.handlers.SizeRotatingFileHandler bug
Ivan Chupakhin (JIRA)
jira-events at lists.jboss.org
Thu Jul 19 07:04:06 EDT 2012
[ https://issues.jboss.org/browse/JBAS-9504?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ivan Chupakhin updated JBAS-9504:
---------------------------------
Summary: AS6 org.jboss.logmanager.handlers.SizeRotatingFileHandler bug (was: SizeRotatingFileHandler bug)
> AS6 org.jboss.logmanager.handlers.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