Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-11998

[GSS](7.0.z) Monthly file rotation will continually overwrite the rotated log file

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 7.0.8.CR1, 7.0.8.GA
    • 7.0.6.GA, 7.1.0.ER1
    • Logging
    • None
    • EAP 7.0.8

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              jperkins-rhn James Perkins
              rhn-support-bmaxwell Brad Maxwell
              Jiří Bílek Jiří Bílek (Inactive)
              Jiří Bílek Jiří Bílek (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: