Re: Question about some code in ClassLoaderContextSelector.

2014-04-28 Thread Ralph Goers
I suspect it is because a) the LoggerContext will need to be configured and probably doesn't have a configuration so it will just use the default and b) the default LoggerContext would probably never be used. Ralph > On Apr 28, 2014, at 4:36 PM, Matt Sicker wrote: > > For convenience, here is

Question about some code in ClassLoaderContextSelector.

2014-04-28 Thread Matt Sicker
For convenience, here is the code snippets I'm looking at. private static final AtomicReference CONTEXT = new AtomicReference(); // ... private LoggerContext getDefault() { final LoggerContext ctx = CONTEXT.get(); if (ctx != null) { return ctx; }