[logback-dev] [JIRA] (LOGBACK-1295) SizeAndTimeBasedRollingPolicy doesnt work with the totalSizeCap limit on the same day

QOS.CH (JIRA) noreply-jira at qos.ch
Fri Apr 28 10:56:01 CEST 2017


Jérémie Harel created LOGBACK-1295:
--------------------------------------

             Summary: SizeAndTimeBasedRollingPolicy doesnt work with the totalSizeCap limit on the same day
                 Key: LOGBACK-1295
                 URL: https://jira.qos.ch/browse/LOGBACK-1295
             Project: logback
          Issue Type: Bug
          Components: logback-core
    Affects Versions: 1.1.10
         Environment: 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

 
            Reporter: Jérémie Harel
            Assignee: Logback dev list


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 :-/)

 

 

 



--
This message was sent by Atlassian JIRA
(v7.3.1#73012)


More information about the logback-dev mailing list