
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@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@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