[logback-user] DuplicateMessageFilter : time based duplication

Nicolas G nicolas80g at gmail.com
Wed Nov 13 16:40:13 CET 2013


Hi,

We are using a modified version of
ch.qos.logback.classic.turbo.DuplicateMessageFilter in our project.
We replaced the LRUMessageCache with a cache with a time based eviction.
This new cache is build with guava CacheBuilder.

The goal is to avoid duplicate messages during a time frame.

I joined the class as it may be useful to other

Thanks
Nicolas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.qos.ch/pipermail/logback-user/attachments/20131113/6cb8e20d/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DuplicateMessageFilter.java
Type: application/octet-stream
Size: 2795 bytes
Desc: not available
URL: <http://mailman.qos.ch/pipermail/logback-user/attachments/20131113/6cb8e20d/attachment.obj>


More information about the Logback-user mailing list