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

Unable to roll log files monthly

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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-beta8
    • Fix Version/s: 2.0-rc1
    • Component/s: Appenders
    • Labels:
      None
    • Environment:

      Java 1.7.0_25, Windows 7 64bit, IntelliJ IDEA 12 Ultimate

      Description

      Attempting to use FastRollingFile appender and configure log file rollover to occur monthly. When filePattern="logs/app-%d{yyyy-MM}.log.gz" is used, at application startup an archive file is created immediately (app-2013-01.log.gz) even if no log previously existed. A log file is created, but only a single entry is made into the log.

        Attachments

          Activity

            People

            • Assignee:
              rpopma Remko Popma
              Reporter:
              acefunk Ace Funk

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment