[logback-dev] [JIRA] (LOGBACK-1455) When log file index is greater than 1000, the old files will no longger be deleted

QOS.CH (JIRA) noreply-jira at qos.ch
Sun Jan 27 13:20:00 CET 2019


Raven created LOGBACK-1455:
------------------------------

             Summary: When log file index is greater than 1000, the old files will no longger be deleted
                 Key: LOGBACK-1455
                 URL: https://jira.qos.ch/browse/LOGBACK-1455
             Project: logback
          Issue Type: Bug
            Reporter: Raven
            Assignee: Logback dev list


My config file just like this:

 

{color:#e8bf6a}<appender {color}{color:#bababa}name{color}{color:#e6db74}="FILE_VERBOSE" {color}{color:#bababa}class{color}{color:#e6db74}="ch.qos.logback.core.rolling.RollingFileAppender"{color}{color:#e8bf6a}>
{color}{color:#e8bf6a} <file>{color}$\{LOG_HOME}/app.log{color:#e8bf6a}</file>
{color}{color:#e8bf6a} <encoder>
{color}{color:#e8bf6a} <charset>{color}UTF-8{color:#e8bf6a}</charset>
{color}{color:#e8bf6a} <pattern>{color}%d\{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger\{36} - %msg%n{color:#e8bf6a}</pattern>
{color}{color:#e8bf6a} </encoder>
{color}{color:#e8bf6a} <rollingPolicy {color}{color:#bababa}class{color}{color:#e6db74}="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"{color}{color:#e8bf6a}>
{color}{color:#e8bf6a} <fileNamePattern>{color}$\{LOG_HOME}/app.%d\{yyyy-MM-dd}.%i.log{color:#e8bf6a}</fileNamePattern>
{color}{color:#e8bf6a} <maxHistory>{color}5{color:#e8bf6a}</maxHistory>
{color}{color:#e8bf6a} <totalSizeCap>{color}100MB{color:#e8bf6a}</totalSizeCap>
{color}{color:#e8bf6a} <timeBasedFileNamingAndTriggeringPolicy {color}{color:#bababa}class{color}{color:#e6db74}="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP"{color}{color:#e8bf6a}>
{color}{color:#e8bf6a} <maxFileSize>{color}10MB{color:#e8bf6a}</maxFileSize>
{color}{color:#e8bf6a} </timeBasedFileNamingAndTriggeringPolicy>
{color}{color:#e8bf6a} </rollingPolicy>
{color}{color:#e8bf6a}</appender>{color}



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


More information about the logback-dev mailing list