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

Add an optional random delay in TimeBasedTriggeringPolicy

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.8.1
    • 2.9.0
    • Appenders
    • None

    Description

      When there are lots of JVM on the same physical host configured to rolling their log file with a TimeBasedTriggeringPolicy, it will create a temporary load that can impact the behavior of the applications since all JVM will roll and compress the old file at the same time

      The purpose of this enhancement is to add an additional property on TimeBasedTriggeringPolicy to delay the rolling by a random amount of time to avoid that massive simultaneous rolling.

      Attachments

        Issue Links

          Activity

            People

              mattsicker Matt Sicker
              Anthony Maire Anthony Maire
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: