[jboss-jira] [JBoss JIRA] (LOGMGR-163) Monthly file rotation will continually overwrite the rotated log file
RH Bugzilla Integration (JIRA)
issues at jboss.org
Thu Dec 7 12:46:00 EST 2017
[ https://issues.jboss.org/browse/LOGMGR-163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13503117#comment-13503117 ]
RH Bugzilla Integration commented on LOGMGR-163:
------------------------------------------------
Petr Penicka <ppenicka at redhat.com> changed the Status of [bug 1468746|https://bugzilla.redhat.com/show_bug.cgi?id=1468746] from VERIFIED to CLOSED
> 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.5.0#75005)
More information about the jboss-jira
mailing list