[jboss-jira] [JBoss JIRA] (LOGMGR-163) Monthly file rotation will continually overwrite the rotated log file

James Perkins (JIRA) issues at jboss.org
Fri Jul 7 11:46:00 EDT 2017


James Perkins created LOGMGR-163:
------------------------------------

             Summary: Monthly file rotation will continually overwrite the rotated log file
                 Key: LOGMGR-163
                 URL: https://issues.jboss.org/browse/LOGMGR-163
             Project: JBoss Log Manager
          Issue Type: Bug
            Reporter: James Perkins
            Assignee: James Perkins
            Priority: Blocker


When the next rollover time is calculated a {{java.util.Calendar}} is used. When rotated monthly the day of the week is set to 0 and 1 month is added. This causes the calendar to be set to the last day of the current month.

On the last day of the month this also causes the file to continually rotate with each log message written, overwriting the previous log message.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list