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

SizeAndTimeBasedRollingPolicy doesnt work with the totalSizeCap limit on the same day

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • 1.1.10
    • logback-core
    • None
    • Linux  2.6.32-642.13.1.el6.x86_64 #1 SMP Wed Jan 11 20:56:24 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

      openjdk version "1.8.0_121"
      OpenJDK Runtime Environment (build 1.8.0_121-b13)

      janino 2.7.8

       

    Description

      I use logback.xml and a logback-prod.xml with conditionnal janino library

      Today, in production, we have an issue and consequently, the application create a huge logs.

      The current file is nearly 10MB as I exepected. But it create a lot of .tar.gz and the total size was 36GB ... i have set 100MB in the totalSizeCap parameter.

      It seems it's working if we have few logs per day, but, in the same day, the totalSizeCap seems not working with huge logs (36GB :-/)

       

       

       

      Attachments

        Activity

          People

            logback-dev Logback dev list
            harelj Jérémie Harel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: