Issue Type: Bug Bug
Affects Versions: 1.0.0
Assignee: Logback dev list
Attachments: 20140409.bmp
Created: 09/Apr/14 8:23 AM
Description:

sometimes i want the compressed log into bak folder.it means the current log file and compressed file in different folder.I define a statement as follows。
<property name="log.path" value="logs" />
<property name="log.backup" value="logsBackup" />
<appender name="info" class="ch.qos.logback.core.rolling.RollingFileAppender">
<filter class="ch.qos.logback.classic.filter.LevelFilter">
<level>INFO</level>
<onMatch>ACCEPT</onMatch>
<onMismatch>DENY</onMismatch>
</filter>
<file>$

{log.path}

/info.log</file>
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<!-- rollover daily -->
<fileNamePattern>$

{log.backup}

/info-%d

{yyyy-MM-dd}

.%i.zip</fileNamePattern>
<maxHistory>30</maxHistory>
<timeBasedFileNamingAndTriggeringPolicy
class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">
<maxFileSize>2KB</maxFileSize>
</timeBasedFileNamingAndTriggeringPolicy>
</rollingPolicy>
<encoder>
<pattern>[%-4level][%d

{yyyy-MM-dd HH:mm:ss}

][%C:%F:%L] - %msg%n</pattern>
</encoder>
</appender>

i expect the info log over 2KB then compressed and put it into logsBackup folder,but not.is there something wrong? or what to do?
thanks very much!

Project: logback
Labels: rollingFileappender Property
Priority: Critical Critical
Reporter: zhihui mao
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira