Issue Type: Improvement Improvement
Affects Versions: 1.0.9
Assignee: Logback dev list
Components: logback-core
Created: 09/Jan/13 12:58 AM
Description: h4. Description
On Tue, Jan 8, 2013 at 7:57 AM, ceki <ceki@qos.ch <mailto:ceki@qos.ch>>

wrote:

    File property and the archived files should not point to the same
    file path. When you wish them to point to the same path, then File
    property should be omitted.

Such a sanity check + unit test would be most welcome.

The offending logback.xml was:

{code}
<configuration>

    <timestamp key="currentDate" datePattern="yyyy_MM_dd" />

    <appender name="dataServiceRequestLog" class="ch.qos.logback.core.rolling.RollingFileAppender">
<param name="File" value="${the.log.dir}/${currentDate}.WebService.log"/>
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<FileNamePattern>${the.log.dir}/%d{yyyy_MM_dd}.WebService.log</FileNamePattern>
<MaxHistory>30</MaxHistory>
</rollingPolicy>
        <encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">
<pattern>%d{HH:mm:ss.SSS} [%thread] %-5level - %msg%n</pattern>
        </encoder>
</appender>
{code}

h4. Discussion
For more details, go to http://mailman.qos.ch/pipermail/logback-user/2013-January/003652.html

h4. Pull Request

TBD
Project: logback
Priority: Minor Minor
Reporter: The Alchemist
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