We have recently updated to 1.4.11.  Previously, we used the 
ContextJNDISelector for logging separation.

In the latest LogbackServiceProvider, the code to make use of a ContextSelector 
is commented out and the defaultLoggerContext is always returned.

    public ILoggerFactory getLoggerFactory() {
        return defaultLoggerContext;

//        if (!initialized) {
//            return defaultLoggerContext;
//
//
//        if (contextSelectorBinder.getContextSelector() == null) {
//            throw new IllegalStateException("contextSelector cannot be null. 
See also " + NULL_CS_URL);
//        }
//        return contextSelectorBinder.getContextSelector().getLoggerContext();
    }


Is the concept of a ContextSelector now removed?  Is there another mechanism 
for doing custom context selection?


_______________________________________________
logback-user mailing list
[email protected]
https://mailman.qos.ch/cgi-bin/mailman/listinfo/logback-user

Reply via email to