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

James Perkins (Jira) issues at jboss.org
Wed May 22 20:13:00 EDT 2019


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

James Perkins closed LOGMGR-97.
-------------------------------
    Resolution: Out of Date


I'm closing this as out of date as it should be fixed in several of the other releases.

> 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
>            Priority: Major
>
> 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
(v7.12.1#712002)


More information about the jboss-jira mailing list