miha created LOGBACK-1360: ----------------------------- Summary: Long overflow in AbstractComponentTracker#isEntryStale() Key: LOGBACK-1360 URL: https://jira.qos.ch/browse/LOGBACK-1360 Project: logback Issue Type: Bug Components: logback-core Affects Versions: 1.2.3 Reporter: miha Assignee: Logback dev list Priority: Minor
Setting [timeout|https://logback.qos.ch/manual/appenders.html#siftTimeout] in configuration to a value greater than (Long.MAX - entry.timestamp) leads to incorrect behavior of configured SiftingAppender due to eventual long overflow in [AbstractComponentTracker#isEntryStale()|https://github.com/qos-ch/logback/blob/84c56aed88760b214d20edbe03852ddc90d68cc1/logback-core/src/main/java/ch/qos/logback/core/spi/AbstractComponentTracker.java#L219] -- This message was sent by Atlassian JIRA (v7.3.1#73012) _______________________________________________ logback-dev mailing list logback-dev@qos.ch http://mailman.qos.ch/mailman/listinfo/logback-dev