[logback-user] logback and concurrency

Xavier Hanin xavier.hanin at gmail.com
Wed Apr 25 23:02:26 CEST 2007


Hi Logback community,

I've read somewhere that logback is thread safe, but I would like some
confirmation about that and what does it imply. So, first, is logback
Logger implementation thread safe? Second, what is the recommended
pattern to get a logger and use it:
- create and store it in a static variable
- create and store it in an instance variable
- create and store it in a local variable

Thanks in advance,

Xavier

-- 
Learn Ivy at ApacheCon: http://www.eu.apachecon.com/
Manage your dependencies with Ivy!
http://incubator.apache.org/ivy/



More information about the Logback-user mailing list