[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:06:06 EDT 2012


    [ https://issues.jboss.org/browse/JBAS-9504?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12706735#comment-12706735 ] 

Ivan Chupakhin commented on JBAS-9504:
--------------------------------------

ok, David, summary is corrected.
                
> 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