[logback-dev] [JIRA] (LOGBACK-1397) SizeAndTimeBasedRollingPolicy Producing a large number of TMP cannot delete files,and size limited invalid

QOS.CH (JIRA) noreply-jira at qos.ch
Thu Apr 26 06:07:00 CEST 2018


anjue created LOGBACK-1397:
------------------------------

             Summary: SizeAndTimeBasedRollingPolicy Producing a large number of TMP cannot delete files,and size limited invalid
                 Key: LOGBACK-1397
                 URL: https://jira.qos.ch/browse/LOGBACK-1397
             Project: logback
          Issue Type: Bug
          Components: logback-core
    Affects Versions: 1.2.3, 1.1.7
         Environment: linux
            Reporter: anjue
            Assignee: Logback dev list
            Priority: Critical
         Attachments: logback.xml, xxxxxxx.jpg

<!-- svs api normal log -->
 <appender name="svsNormalAppender" class="ch.qos.logback.core.rolling.RollingFileAppender">
 <!-- API LOG OFF
 <filter class="ch.qos.logback.classic.filter.LevelFilter">
 <level>INFO</level>
 <onMatch>DENY</onMatch>
 <onMismatch>DENY</onMismatch>
 </filter>
 -->
 <layout class="ch.qos.logback.classic.PatternLayout">
 <pattern>
 %d\{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger\{50} - %msg%n
 </pattern>
 </layout>
 <file>$\{logging_home}/svs-normal.log</file>
 <rollingPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy">
 <fileNamePattern>
 $\{logging_backup}/%d\{yyyy-MM-dd}/svs-normal.%d\{yyyyMMdd}.%i.log.zip
 </fileNamePattern>
 <maxFileSize>500MB</maxFileSize>
 <maxHistory>10</maxHistory>
 </rollingPolicy>
 </appender>



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


More information about the logback-dev mailing list