Issue Type: Bug Bug
Affects Versions: 1.0.13
Assignee: Logback dev list
Components: logback-core
Created: 17/Jul/13 4:31 AM
Description:

When creating a sifting appender with a timeout of unbounded (Duration.buildUnbounded() or <timeout>9223372036854775807millis</timeout>) causes the appender to continually recreate logs.
The error is on line 220 of AbstractComponentTracker. It returns "(entry.timestamp + timeout) < now". The issue is that when timeout is sufficiently high the difference becomes negative and hence will always be less than now. I am not entirely sure how to solve this. When unbounded is used, shouldn't the appender treat the logger as never being stale?

Project: logback
Labels: logging
Priority: Major Major
Reporter: Kenneth Gendron
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