Issue Type: Bug Bug
Assignee: Logback dev list
Attachments: maxHistory bug.bmp
Created: 06/Sep/12 3:53 PM
Description:    <appender name="sizeAndTimeBased" class="ch.qos.logback.core.rolling.RollingFileAppender">
        <file>./logs/ExtensibleServices.log</file>
        <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
            <fileNamePattern>./logs/ExtensibleServices.%d{yyyyMMdd}.%i.log</fileNamePattern>
            <timeBasedFileNamingAndTriggeringPolicy
                class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">
                <maxFileSize>1MB</maxFileSize>
                <maxHistory>2</maxHistory> <!--this is a bug-->
            </timeBasedFileNamingAndTriggeringPolicy>
        </rollingPolicy>
        <encoder>
            <pattern>%d{yyyy-MM-dd}T%d{HH:mm:ss.SSS} %msg%n</pattern>
        </encoder>
    </appender>

The figure describes the test result.
Project: logback
Priority: Major Major
Reporter: Billy Wang
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