[logback-user] Rollover not archived

Kristian Lind klpcrap at gmail.com
Tue Apr 9 21:07:48 CEST 2013


I meant that the file is rolled, starting from 0 bytes...
BUT BUT... I made a typo, so the archived files where stored in the wrong
dir.. :)

It works fine.. case closed.. :)


On Tue, Apr 9, 2013 at 10:46 AM, ceki <ceki at qos.ch> wrote:

>
> 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>
>> <**timeBasedFileNamingAndTriggeri**ngPolicy
>>   class="ch.qos.logback.core.**rolling.SizeAndTimeBasedFNATP"**>
>> <maxFileSize>1MB</maxFileSize>
>> </**timeBasedFileNamingAndTriggeri**ngPolicy>
>> </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
> ______________________________**_________________
> Logback-user mailing list
> Logback-user at qos.ch
> http://mailman.qos.ch/mailman/**listinfo/logback-user<http://mailman.qos.ch/mailman/listinfo/logback-user>
>



-- 
Med venlig hilsen / Best regards

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


More information about the Logback-user mailing list