]
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.