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

OnStartupTriggeringPolicy rolls over on every reconfiguration

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.6.1
    • 2.6.2
    • Appenders
    • None

    Description

      The OnStartupTriggeringPolicy was modified to roll over when the configuration is processed instead of waiting for the first log event and to only roll over if the file is not emoty. This leads to two issues:

      1. The roll over is only supposed to occur when Log4j is configured for the first time in the JVM.
      2. The user may have wanted to roll over empty files.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            rgoers Ralph Goers
            rgoers Ralph Goers
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment