Uploaded image for project: 'JBoss Log Manager'
  1. JBoss Log Manager
  2. LOGMGR-163

Monthly file rotation will continually overwrite the rotated log file

XMLWordPrintable

    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.

          jperkins-rhn James Perkins
          jperkins-rhn James Perkins
          Votes:
          0 Vote for this issue
          Watchers:
          3 Start watching this issue

            Created:
            Updated:
            Resolved: