Class ContextJNDISelector

  • All Implemented Interfaces:
    ContextSelector

    public class ContextJNDISelector
    extends Object
    implements ContextSelector
    A class that allows the LoggerFactory to access an environment-based LoggerContext.

    To add in catalina.sh

    JAVA_OPTS="$JAVA_OPTS "-Dlogback.ContextSelector=JNDI""