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

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.11.2, 2.13.0
    • Fix Version/s: 2.13.1
    • Component/s: Core
    • Labels:
      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

            People

            • Assignee:
              rgoers Ralph Goers
              Reporter:
              BuriyMedved Kuznetsov Anton

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment