[logback-user] Rollover not archived

ceki ceki at qos.ch
Tue Apr 9 19:46:38 CEST 2013


What do you mean by rolled but not archived?

On 09.04.2013 18:29, Kristian Lind wrote:
> 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
>


-- 
Ceki
65% of statistics are made up on the spot


More information about the Logback-user mailing list