wuwen created Bug LOGBACK-894
Issue Type: Bug Bug
Affects Versions: 1.0.13
Assignee: Logback dev list
Attachments: SizeAndTimeBasedArchiveRemover.java, TimeBasedArchiveRemover.java
Components: logback-core
Created: 21/Aug/13 8:43 AM
Description:

if the configuration as shown
<fileNamePattern >/srv/srv1.%d

{HH}.%i.log
</fileNamePattern >
or
<fileNamePattern >/srv/srv1.%d{HH}

.log
</fileNamePattern >
the first file Will be deleted.

14:05:29,003 |-INFO in c.q.l.co.rolling.helper.RenameUtil - Renaming file [\apps\logs\log1\srv\srv.log] to [\apps\logs\log1\srv\srv.13.log]
14:05:29,004 |-INFO in c.q.l.core.rolling.helper.TimeBasedArchiveRemover - first clean up after appender initialization
14:05:29,004 |-INFO in c.q.l.core.rolling.helper.TimeBasedArchiveRemover - periodsElapsed = 336
14:05:29,006 |-INFO in c.q.l.core.rolling.helper.TimeBasedArchiveRemover - deleting \apps\logs\log1\srv\srv.13.log

srv.13.log is first file.

Project: logback
Priority: Major Major
Reporter: wuwen
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
logback-dev@qos.ch
http://mailman.qos.ch/mailman/listinfo/logback-dev

Reply via email to