[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 12:00:00 EDT 2017
[ https://issues.jboss.org/browse/LOGMGR-163?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
James Perkins updated LOGMGR-163:
---------------------------------
Fix Version/s: 1.1.2.CR1
1.2.3.GA
1.3.3.Final
1.4.4.Final
1.5.8.Final
2.0.7.Final
2.1.0.Alpha2
> 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
> Fix For: 1.1.2.CR1, 1.2.3.GA, 1.3.3.Final, 1.4.4.Final, 1.5.8.Final, 2.0.7.Final, 2.1.0.Alpha2
>
>
> 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