Uploaded image for project: 'Log4j 2'
  1. Log4j 2
  2. LOG4J2-2542

Cron and Size Triggering Policies not rolling properly

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.11.1
    • Fix Version/s: 2.11.2
    • Component/s: Appenders
    • Labels:
      None

      Description

      When the Cron and SizeBased Triggering policies are used together they do not roll properly. When a size-based rollover occurs that starts just before the rollover time and ends just after the file name will use the next period's timestamp but increment the index to the next number when it should have a value of 1.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              ralph.goers@dslextreme.com Ralph Goers
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: