[logback-user] Rollover not archived

Kristian Lind klpcrap at gmail.com
Tue Apr 9 18:29:57 CEST 2013


Hi, I have this.. :

<appender name="FILE"
class="ch.qos.logback.core.rolling.RollingFileAppender">
        <file>../standalone/log/jsi.log</file>
   <rollingPolicy
class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">

<fileNamePattern>logFile.%d{yyyy-MM-dd_HH-mm}.%i.log</fileNamePattern>
       <timeBasedFileNamingAndTriggeringPolicy
 class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">
         <maxFileSize>1MB</maxFileSize>
     </timeBasedFileNamingAndTriggeringPolicy>
   </rollingPolicy>

        <append>true</append>
        <encoder>
            <pattern>[%p] %d [%c] - %m%n</pattern>
        </encoder>
    </appender>


The log file is rolled, but not archived..

???

-- 
Med venlig hilsen / Best regards

Kristian Lind
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.qos.ch/pipermail/logback-user/attachments/20130409/8b747070/attachment.html>


More information about the Logback-user mailing list