![]() |
|
|
|
|
Issue Type:
|
Bug
|
|
Affects Versions:
|
1.0.6 |
|
Assignee:
|
Logback dev list
|
|
Components:
|
logback-core |
|
Created:
|
16/Aug/12 3:10 PM
|
|
Description:
|
We have boilerplate time-based rolling filer appender (see below). At midnight, rollover occurs correctly. But, sometime during the next few hours, a switch occurs and from then all logs are being written to the previous day's log file.
I have seen the rollover at midnight and can confirm that at that point logging is correct. I have not observed the point at which the switch-back occurs but it is occurring each time.
<appender name="DailyRollingFileAppender" class="ch.qos.logback.core.rolling.RollingFileAppender">
<file>teamwork.log</file>
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<!-- daily rollover -->
<fileNamePattern>teamwork.log.%d</fileNamePattern>
<!-- keep 30 days worth of history -->
<maxHistory>30</maxHistory>
<append>true</append>
</rollingPolicy>
<encoder>
<pattern>%-5level [%thread] %d{HH:mm:ss.SSS} [%logger{0}] - %msg%n</pattern>
</encoder>
</appender>
|
|
Environment:
|
linux
|
|
Project:
|
logback
|
|
Priority:
|
Blocker
|
|
Reporter:
|
jawaid hakim
|
|
|
|
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
|
_______________________________________________
logback-dev mailing list
[email protected]
http://mailman.qos.ch/mailman/listinfo/logback-dev