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

RollingFile does not roll with createOnDemand=true

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.11.2, 2.13.0
    • 2.13.1
    • Core
    • None

    Description

      Steps to reproduce:

      1) Run code in attached file. It will create log file named 'Error' in
      /home/user/Temp
      with one log message
      2) Change time on your computer to next day
      3) Rerun code. It will add another message to the same file.

      Correct behavior:
      on step 3 log4j must create new File

       

       

       

      Attachments

        Issue Links

        Activity

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

          People

            rgoers Ralph Goers
            BuriyMedved Kuznetsov Anton
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment