[jboss-jira] [JBoss JIRA] (LOGMGR-97) AS6 org.jboss.logmanager.handlers.SizeRotatingFileHandler bug

James Perkins (JIRA) issues at jboss.org
Tue Oct 20 19:55:00 EDT 2015


     [ https://issues.jboss.org/browse/LOGMGR-97?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

James Perkins reassigned LOGMGR-97:
-----------------------------------

    Assignee:     (was: James Perkins)


> 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
>            Reporter: Ivan Chupakhin
>
> 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 was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list