Uploaded image for project: 'logback'
  1. logback
  2. LOGBACK-1201

totalSizeCap not delete the oldest 1 day in maxHistory

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 1.1.7
    • logback-core
    • linux/Windows

    Description

      I set maxHistory=5 and totalSizeCap=10MB, if zip files lager than 10MB, will delete some zip file, but just delete last 4 days, not delete the oldest files, it is not reasonable。
      maxHistory may delete files before 5 days(exclude 5), totalSizeCap may delete files before 4 days.

      Attachments

        Activity

          People

            logback-dev Logback dev list
            xiaosunzhu YiJun Sun
            Votes:
            5 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: