[logback-user] TurboFilter thread-safety?

César Álvarez Núñez cesar.alvarez.nunez at gmail.com
Mon Feb 21 15:28:21 CET 2011


Hi all,

I would like to known if TurboFilter is multithread-safe or not since the
manual does not say anything about it.

Reviewing
https://github.com/ceki/logback/blob/master/logback-classic/src/main/java/ch/qos/logback/classic/turbo/DuplicateMessageFilter.javaI
have seen that a it makes use of a LinkedHashMap (
http://download.oracle.com/javase/6/docs/api/java/util/LinkedHashMap.html)
which requires synchronization in case of multithread access.

BR,
/César.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://qos.ch/pipermail/logback-user/attachments/20110221/1ebd928a/attachment.html>


More information about the Logback-user mailing list