[slf4j-user] Injecting loggers overhead?

ceki ceki at qos.ch
Fri May 4 23:56:02 CEST 2012


Hi Karsten,

The overhead for non-static (instance) loggers variables should be 
negligible unless many, say 10000 or more, instantiations occur. This 
question is also discussed in the SLF4J FAQ [1].

HTH,

-- 
Ceki
http://twitter.com/#!/ceki

[1] http://www.slf4j.org/faq.html#declared_static

On 04.05.2012 22:29, Karsten Wutzke wrote:
> Hello all,
>
> I've recently posted this on SO, but with "limited" success:
>
> http://stackoverflow.com/questions/10345109/whats-the-overhead-of-creating-a-slf4j-loggers-in-static-vs-non-static-context
>
> I'd be glad if anyone could help on this. If possible, it would be nice
> to see an answer on SO, but here would be OK, too.
>
> Thanks
> Karsten
>


More information about the slf4j-user mailing list