Uses of Class
org.apache.logging.log4j.core.LoggerContext
-
Packages that use LoggerContext Package Description org.apache.log4j.config Log4j 1.x compatibility layer.org.apache.log4j.xml Log4j 1.x compatibility layer.org.apache.logging.log4j.core Implementation of Log4j 2.org.apache.logging.log4j.core.appender Log4j 2 Appenders.org.apache.logging.log4j.core.appender.rolling Rolling File Appender and support classes.org.apache.logging.log4j.core.async Provides Asynchronous Logger classes and interfaces for low-latency logging.org.apache.logging.log4j.core.config Configuration of Log4j 2.org.apache.logging.log4j.core.config.builder.api Configuration Builder API for programmatically configuring Log4j.org.apache.logging.log4j.core.config.builder.impl Configuration Builder Implementation.org.apache.logging.log4j.core.config.json Classes and interfaces supporting configuration of Log4j 2 with JSON.org.apache.logging.log4j.core.config.properties Configuration using Properties files.org.apache.logging.log4j.core.config.xml Classes and interfaces supporting configuration of Log4j 2 with XML.org.apache.logging.log4j.core.config.yaml Classes and interfaces supporting configuration of Log4j 2 with YAML.org.apache.logging.log4j.core.impl Log4j 2 private implementation classes.org.apache.logging.log4j.core.jmx Log4j 2 JMX support.org.apache.logging.log4j.core.lookup Log4j 2 Lookups.org.apache.logging.log4j.core.net Log4j 2 network support.org.apache.logging.log4j.core.osgi Collection of OSGi-specific classes for bundles.org.apache.logging.log4j.core.selector Log4j 2 Context Selectors.org.apache.logging.log4j.web The classes in this package are responsible for properly initializing and deinitializing Log4j in a Java EE web application. -
-
Uses of LoggerContext in org.apache.log4j.config
Methods in org.apache.log4j.config with parameters of type LoggerContext Modifier and Type Method Description ConfigurationLog4j1ConfigurationFactory. getConfiguration(LoggerContext loggerContext, ConfigurationSource source)ConfigurationPropertiesConfigurationFactory. getConfiguration(LoggerContext loggerContext, ConfigurationSource source)Constructors in org.apache.log4j.config with parameters of type LoggerContext Constructor Description Log4j1Configuration(LoggerContext loggerContext, ConfigurationSource configurationSource, int monitorIntervalSeconds)PropertiesConfiguration(LoggerContext loggerContext, java.util.Properties properties)Constructs a new instance.PropertiesConfiguration(LoggerContext loggerContext, ConfigurationSource source, int monitorIntervalSeconds)Constructs a new instance. -
Uses of LoggerContext in org.apache.log4j.xml
Methods in org.apache.log4j.xml with parameters of type LoggerContext Modifier and Type Method Description ConfigurationXmlConfigurationFactory. getConfiguration(LoggerContext loggerContext, ConfigurationSource source)Constructors in org.apache.log4j.xml with parameters of type LoggerContext Constructor Description XmlConfiguration(LoggerContext loggerContext, ConfigurationSource source, int monitorIntervalSeconds) -
Uses of LoggerContext in org.apache.logging.log4j.core
Fields in org.apache.logging.log4j.core declared as LoggerContext Modifier and Type Field Description private LoggerContextLogEventListener. contextprivate LoggerContextLogger. contextMethods in org.apache.logging.log4j.core that return LoggerContext Modifier and Type Method Description LoggerContextLogger. getContext()Returns the LoggerContext this Logger is associated with.static LoggerContextLoggerContext. getContext()Returns the current LoggerContext.static LoggerContextLoggerContext. getContext(boolean currentContext)Returns a LoggerContext.static LoggerContextLoggerContext. getContext(java.lang.ClassLoader loader, boolean currentContext, java.net.URI configLocation)Returns a LoggerContext.LoggerContextDefaultLoggerContextAccessor. getLoggerContext()LoggerContextLoggerContextAccessor. getLoggerContext()Methods in org.apache.logging.log4j.core with parameters of type LoggerContext Modifier and Type Method Description protected LoggerLoggerContext. newInstance(LoggerContext ctx, java.lang.String name, MessageFactory messageFactory)Constructors in org.apache.logging.log4j.core with parameters of type LoggerContext Constructor Description Logger(LoggerContext context, java.lang.String name, MessageFactory messageFactory)The constructor. -
Uses of LoggerContext in org.apache.logging.log4j.core.appender
Fields in org.apache.logging.log4j.core.appender declared as LoggerContext Modifier and Type Field Description private LoggerContextAbstractManager. loggerContextMethods in org.apache.logging.log4j.core.appender that return LoggerContext Modifier and Type Method Description LoggerContextAbstractManager. getLoggerContext()Gets the logger context used to create this instance or null.LoggerContextConfigurationFactoryData. getLoggerContext()Gets the LoggerContext from the Configuration or null.Constructors in org.apache.logging.log4j.core.appender with parameters of type LoggerContext Constructor Description AbstractManager(LoggerContext loggerContext, java.lang.String name)FileManager(LoggerContext loggerContext, java.lang.String fileName, java.io.OutputStream os, boolean append, boolean locking, boolean createOnDemand, java.lang.String advertiseURI, Layout<? extends java.io.Serializable> layout, boolean writeHeader, java.nio.ByteBuffer buffer)Deprecated.FileManager(LoggerContext loggerContext, java.lang.String fileName, java.io.OutputStream os, boolean append, boolean locking, boolean createOnDemand, java.lang.String advertiseURI, Layout<? extends java.io.Serializable> layout, java.lang.String filePermissions, java.lang.String fileOwner, java.lang.String fileGroup, boolean writeHeader, java.nio.ByteBuffer buffer)HttpManager(Configuration configuration, LoggerContext loggerContext, java.lang.String name)HttpURLConnectionManager(Configuration configuration, LoggerContext loggerContext, java.lang.String name, java.net.URL url, java.lang.String method, int connectTimeoutMillis, int readTimeoutMillis, Property[] headers, SslConfiguration sslConfiguration, boolean verifyHostname)OutputStreamManager(LoggerContext loggerContext, java.io.OutputStream os, java.lang.String streamName, boolean createOnDemand, Layout<? extends java.io.Serializable> layout, boolean writeHeader, java.nio.ByteBuffer byteBuffer)RandomAccessFileManager(LoggerContext loggerContext, java.io.RandomAccessFile file, java.lang.String fileName, java.io.OutputStream os, int bufferSize, java.lang.String advertiseURI, Layout<? extends java.io.Serializable> layout, boolean writeHeader) -
Uses of LoggerContext in org.apache.logging.log4j.core.appender.rolling
Constructors in org.apache.logging.log4j.core.appender.rolling with parameters of type LoggerContext Constructor Description RollingFileManager(LoggerContext loggerContext, java.lang.String fileName, java.lang.String pattern, java.io.OutputStream os, boolean append, boolean createOnDemand, long size, long initialTime, TriggeringPolicy triggeringPolicy, RolloverStrategy rolloverStrategy, java.lang.String advertiseURI, Layout<? extends java.io.Serializable> layout, boolean writeHeader, java.nio.ByteBuffer buffer)Deprecated.RollingFileManager(LoggerContext loggerContext, java.lang.String fileName, java.lang.String pattern, java.io.OutputStream os, boolean append, boolean createOnDemand, long size, long initialTime, TriggeringPolicy triggeringPolicy, RolloverStrategy rolloverStrategy, java.lang.String advertiseURI, Layout<? extends java.io.Serializable> layout, java.lang.String filePermissions, java.lang.String fileOwner, java.lang.String fileGroup, boolean writeHeader, java.nio.ByteBuffer buffer)RollingRandomAccessFileManager(LoggerContext loggerContext, java.io.RandomAccessFile raf, java.lang.String fileName, java.lang.String pattern, java.io.OutputStream os, boolean append, boolean immediateFlush, int bufferSize, long size, long time, TriggeringPolicy policy, RolloverStrategy strategy, java.lang.String advertiseURI, Layout<? extends java.io.Serializable> layout, boolean writeHeader)Deprecated.RollingRandomAccessFileManager(LoggerContext loggerContext, java.io.RandomAccessFile raf, java.lang.String fileName, java.lang.String pattern, java.io.OutputStream os, boolean append, boolean immediateFlush, int bufferSize, long size, long initialTime, TriggeringPolicy policy, RolloverStrategy strategy, java.lang.String advertiseURI, Layout<? extends java.io.Serializable> layout, java.lang.String filePermissions, java.lang.String fileOwner, java.lang.String fileGroup, boolean writeHeader) -
Uses of LoggerContext in org.apache.logging.log4j.core.async
Subclasses of LoggerContext in org.apache.logging.log4j.core.async Modifier and Type Class Description classAsyncLoggerContextLoggerContextthat createsAsyncLoggerobjects.Methods in org.apache.logging.log4j.core.async that return LoggerContext Modifier and Type Method Description protected LoggerContextAsyncLoggerContextSelector. createContext(java.lang.String name, java.net.URI configLocation)LoggerContextBasicAsyncLoggerContextSelector. getContext(java.lang.String fqcn, java.lang.ClassLoader loader, boolean currentContext)LoggerContextBasicAsyncLoggerContextSelector. getContext(java.lang.String fqcn, java.lang.ClassLoader loader, boolean currentContext, java.net.URI configLocation)Methods in org.apache.logging.log4j.core.async that return types with arguments of type LoggerContext Modifier and Type Method Description java.util.List<LoggerContext>BasicAsyncLoggerContextSelector. getLoggerContexts()Methods in org.apache.logging.log4j.core.async with parameters of type LoggerContext Modifier and Type Method Description protected LoggerAsyncLoggerContext. newInstance(LoggerContext ctx, java.lang.String name, MessageFactory messageFactory)voidBasicAsyncLoggerContextSelector. removeContext(LoggerContext context)Constructors in org.apache.logging.log4j.core.async with parameters of type LoggerContext Constructor Description AsyncLogger(LoggerContext context, java.lang.String name, MessageFactory messageFactory, AsyncLoggerDisruptor loggerDisruptor)Constructs anAsyncLoggerwith the specified context, name and message factory. -
Uses of LoggerContext in org.apache.logging.log4j.core.config
Fields in org.apache.logging.log4j.core.config with type parameters of type LoggerContext Modifier and Type Field Description private java.lang.ref.WeakReference<LoggerContext>AbstractConfiguration. loggerContextMethods in org.apache.logging.log4j.core.config that return LoggerContext Modifier and Type Method Description LoggerContextAbstractConfiguration. getLoggerContext()LoggerContextConfiguration. getLoggerContext()Gets the logger context.static LoggerContextConfigurator. initialize(java.lang.ClassLoader loader, Configuration configuration)Initializes the Logging Context.static LoggerContextConfigurator. initialize(java.lang.ClassLoader loader, Configuration configuration, java.lang.Object externalContext)Initializes the Logging Context.static LoggerContextConfigurator. initialize(java.lang.ClassLoader loader, ConfigurationSource source)Initializes the Logging Context.static LoggerContextConfigurator. initialize(java.lang.ClassLoader loader, ConfigurationSource source, java.lang.Object externalContext)Initializes the Logging Context.static LoggerContextConfigurator. initialize(java.lang.String name, java.lang.ClassLoader loader, java.lang.String configLocation)Initializes the Logging Context.static LoggerContextConfigurator. initialize(java.lang.String name, java.lang.ClassLoader loader, java.lang.String configLocation, java.lang.Object externalContext)Initializes the Logging Context.static LoggerContextConfigurator. initialize(java.lang.String name, java.lang.ClassLoader loader, java.net.URI configLocation)Initializes the Logging Context.static LoggerContextConfigurator. initialize(java.lang.String name, java.lang.ClassLoader loader, java.net.URI configLocation, java.lang.Object externalContext)Initializes the Logging Context.static LoggerContextConfigurator. initialize(java.lang.String name, java.lang.ClassLoader loader, java.net.URI configLocation, java.util.Map.Entry<java.lang.String,java.lang.Object> entry)Initializes the Logging Context.static LoggerContextConfigurator. initialize(java.lang.String name, java.lang.ClassLoader loader, java.util.List<java.net.URI> configLocations, java.lang.Object externalContext)static LoggerContextConfigurator. initialize(java.lang.String name, java.lang.String configLocation)Initializes the Logging Context.static LoggerContextConfigurator. initialize(Configuration configuration)Initializes the Logging Context.Methods in org.apache.logging.log4j.core.config with parameters of type LoggerContext Modifier and Type Method Description private ConfigurationConfigurationFactory.Factory. getConfiguration(java.lang.String requiredVersion, LoggerContext loggerContext, java.lang.String configLocationStr)private ConfigurationConfigurationFactory.Factory. getConfiguration(LoggerContext loggerContext, boolean isTest, java.lang.String name)private ConfigurationConfigurationFactory.Factory. getConfiguration(LoggerContext loggerContext, java.lang.String configLocationStr)ConfigurationConfigurationFactory.Factory. getConfiguration(LoggerContext loggerContext, java.lang.String name, java.net.URI configLocation)Default Factory Constructor.ConfigurationConfigurationFactory.Factory. getConfiguration(LoggerContext loggerContext, ConfigurationSource source)ConfigurationConfigurationFactory. getConfiguration(LoggerContext loggerContext, java.lang.String name, java.net.URI configLocation)Returns the Configuration.ConfigurationConfigurationFactory. getConfiguration(LoggerContext loggerContext, java.lang.String name, java.net.URI configLocation, java.lang.ClassLoader loader)Returns the Configuration obtained using a given ClassLoader.abstract ConfigurationConfigurationFactory. getConfiguration(LoggerContext loggerContext, ConfigurationSource source)private static voidConfigurator. setLevel(LoggerContext loggerContext, java.lang.String loggerName, Level level)voidLoggerContextAware. setLoggerContext(LoggerContext loggerContext)Injects the current LoggerContext into this object.private static voidConfigurator. setRootLevel(Level level, LoggerContext loggerContext)static voidConfigurator. shutdown(LoggerContext ctx)Shuts down the given logger context.static booleanConfigurator. shutdown(LoggerContext ctx, long timeout, java.util.concurrent.TimeUnit timeUnit)Shuts down the given logger context.Constructors in org.apache.logging.log4j.core.config with parameters of type LoggerContext Constructor Description AbstractConfiguration(LoggerContext loggerContext, ConfigurationSource configurationSource)Constructor. -
Uses of LoggerContext in org.apache.logging.log4j.core.config.builder.api
Methods in org.apache.logging.log4j.core.config.builder.api with parameters of type LoggerContext Modifier and Type Method Description voidConfigurationBuilder. setLoggerContext(LoggerContext loggerContext)Sets the logger context. -
Uses of LoggerContext in org.apache.logging.log4j.core.config.builder.impl
Fields in org.apache.logging.log4j.core.config.builder.impl declared as LoggerContext Modifier and Type Field Description private LoggerContextDefaultConfigurationBuilder. loggerContextMethods in org.apache.logging.log4j.core.config.builder.impl with parameters of type LoggerContext Modifier and Type Method Description voidDefaultConfigurationBuilder. setLoggerContext(LoggerContext loggerContext)Constructors in org.apache.logging.log4j.core.config.builder.impl with parameters of type LoggerContext Constructor Description BuiltConfiguration(LoggerContext loggerContext, ConfigurationSource source, Component rootComponent) -
Uses of LoggerContext in org.apache.logging.log4j.core.config.json
Methods in org.apache.logging.log4j.core.config.json with parameters of type LoggerContext Modifier and Type Method Description ConfigurationJsonConfigurationFactory. getConfiguration(LoggerContext loggerContext, ConfigurationSource source)Constructors in org.apache.logging.log4j.core.config.json with parameters of type LoggerContext Constructor Description JsonConfiguration(LoggerContext loggerContext, ConfigurationSource configSource) -
Uses of LoggerContext in org.apache.logging.log4j.core.config.properties
Fields in org.apache.logging.log4j.core.config.properties declared as LoggerContext Modifier and Type Field Description private LoggerContextPropertiesConfigurationBuilder. loggerContextMethods in org.apache.logging.log4j.core.config.properties that return LoggerContext Modifier and Type Method Description LoggerContextPropertiesConfigurationBuilder. getLoggerContext()Methods in org.apache.logging.log4j.core.config.properties with parameters of type LoggerContext Modifier and Type Method Description PropertiesConfigurationPropertiesConfigurationFactory. getConfiguration(LoggerContext loggerContext, ConfigurationSource source)PropertiesConfigurationBuilderPropertiesConfigurationBuilder. setLoggerContext(LoggerContext loggerContext)Constructors in org.apache.logging.log4j.core.config.properties with parameters of type LoggerContext Constructor Description PropertiesConfiguration(LoggerContext loggerContext, ConfigurationSource source, Component root) -
Uses of LoggerContext in org.apache.logging.log4j.core.config.xml
Methods in org.apache.logging.log4j.core.config.xml with parameters of type LoggerContext Modifier and Type Method Description ConfigurationXmlConfigurationFactory. getConfiguration(LoggerContext loggerContext, ConfigurationSource source)Returns the Configuration.Constructors in org.apache.logging.log4j.core.config.xml with parameters of type LoggerContext Constructor Description XmlConfiguration(LoggerContext loggerContext, ConfigurationSource configSource) -
Uses of LoggerContext in org.apache.logging.log4j.core.config.yaml
Methods in org.apache.logging.log4j.core.config.yaml with parameters of type LoggerContext Modifier and Type Method Description ConfigurationYamlConfigurationFactory. getConfiguration(LoggerContext loggerContext, ConfigurationSource source)Constructors in org.apache.logging.log4j.core.config.yaml with parameters of type LoggerContext Constructor Description YamlConfiguration(LoggerContext loggerContext, ConfigurationSource configSource) -
Uses of LoggerContext in org.apache.logging.log4j.core.impl
Fields in org.apache.logging.log4j.core.impl with type parameters of type LoggerContext Modifier and Type Field Description static java.lang.ThreadLocal<LoggerContext>ContextAnchor. THREAD_CONTEXTAnchor for the LoggerContext for the current Thread.Methods in org.apache.logging.log4j.core.impl that return LoggerContext Modifier and Type Method Description LoggerContextLog4jContextFactory. getContext(java.lang.String fqcn, java.lang.ClassLoader loader, java.lang.Object externalContext, boolean currentContext)Loads the LoggerContext using the ContextSelector.LoggerContextLog4jContextFactory. getContext(java.lang.String fqcn, java.lang.ClassLoader loader, java.lang.Object externalContext, boolean currentContext, java.net.URI configLocation, java.lang.String name)Loads the LoggerContext using the ContextSelector.LoggerContextLog4jContextFactory. getContext(java.lang.String fqcn, java.lang.ClassLoader loader, java.lang.Object externalContext, boolean currentContext, java.util.List<java.net.URI> configLocations, java.lang.String name)LoggerContextLog4jContextFactory. getContext(java.lang.String fqcn, java.lang.ClassLoader loader, java.lang.Object externalContext, boolean currentContext, Configuration configuration)Loads the LoggerContext using the ContextSelector using the provided ConfigurationLoggerContextLog4jContextFactory. getContext(java.lang.String fqcn, java.lang.ClassLoader loader, java.lang.Object externalContext, boolean currentContext, ConfigurationSource source)Loads the LoggerContext using the ContextSelector.LoggerContextLog4jContextFactory. getContext(java.lang.String fqcn, java.lang.ClassLoader loader, java.util.Map.Entry<java.lang.String,java.lang.Object> entry, boolean currentContext, java.net.URI configLocation, java.lang.String name) -
Uses of LoggerContext in org.apache.logging.log4j.core.jmx
Fields in org.apache.logging.log4j.core.jmx declared as LoggerContext Modifier and Type Field Description private LoggerContextLoggerConfigAdmin. loggerContextprivate LoggerContextLoggerContextAdmin. loggerContextMethods in org.apache.logging.log4j.core.jmx with parameters of type LoggerContext Modifier and Type Method Description private static voidServer. registerAppenders(LoggerContext ctx, javax.management.MBeanServer mbs, java.util.concurrent.Executor executor)private static voidServer. registerLoggerConfigs(LoggerContext ctx, javax.management.MBeanServer mbs, java.util.concurrent.Executor executor)Constructors in org.apache.logging.log4j.core.jmx with parameters of type LoggerContext Constructor Description LoggerConfigAdmin(LoggerContext loggerContext, LoggerConfig loggerConfig)Constructs a newLoggerConfigAdminwith the specified LoggerContext and logger config.LoggerContextAdmin(LoggerContext loggerContext, java.util.concurrent.Executor executor)Constructs a newLoggerContextAdminwith theExecutorto be used for sendingNotifications asynchronously to listeners. -
Uses of LoggerContext in org.apache.logging.log4j.core.lookup
Fields in org.apache.logging.log4j.core.lookup with type parameters of type LoggerContext Modifier and Type Field Description protected java.lang.ref.WeakReference<LoggerContext>Interpolator. loggerContextMethods in org.apache.logging.log4j.core.lookup with parameters of type LoggerContext Modifier and Type Method Description voidInterpolator. setLoggerContext(LoggerContext loggerContext) -
Uses of LoggerContext in org.apache.logging.log4j.core.net
Constructors in org.apache.logging.log4j.core.net with parameters of type LoggerContext Constructor Description MailManager(LoggerContext loggerContext, java.lang.String name) -
Uses of LoggerContext in org.apache.logging.log4j.core.osgi
Methods in org.apache.logging.log4j.core.osgi that return LoggerContext Modifier and Type Method Description LoggerContextBundleContextSelector. getContext(java.lang.String fqcn, java.lang.ClassLoader loader, boolean currentContext, java.net.URI configLocation)private LoggerContextBundleContextSelector. getLoggerContext(org.osgi.framework.Bundle bundle)private static LoggerContextBundleContextSelector. locateContext(org.osgi.framework.Bundle bundle, java.net.URI configLocation)Methods in org.apache.logging.log4j.core.osgi with parameters of type LoggerContext Modifier and Type Method Description private voidBundleContextSelector. removeLoggerContext(LoggerContext context) -
Uses of LoggerContext in org.apache.logging.log4j.core.selector
Fields in org.apache.logging.log4j.core.selector declared as LoggerContext Modifier and Type Field Description private static LoggerContextBasicContextSelector. CONTEXTprivate static LoggerContextJndiContextSelector. CONTEXTFields in org.apache.logging.log4j.core.selector with type parameters of type LoggerContext Modifier and Type Field Description protected static java.util.concurrent.ConcurrentMap<java.lang.String,java.util.concurrent.atomic.AtomicReference<java.lang.ref.WeakReference<LoggerContext>>>ClassLoaderContextSelector. CONTEXT_MAPprivate static java.util.concurrent.ConcurrentMap<java.lang.String,LoggerContext>JndiContextSelector. CONTEXT_MAPprivate static java.util.concurrent.atomic.AtomicReference<LoggerContext>ClassLoaderContextSelector. DEFAULT_CONTEXTMethods in org.apache.logging.log4j.core.selector that return LoggerContext Modifier and Type Method Description protected LoggerContextClassLoaderContextSelector. createContext(java.lang.String name, java.net.URI configLocation)private LoggerContextClassLoaderContextSelector. findContext(java.lang.ClassLoader loaderOrNull)LoggerContextBasicContextSelector. getContext(java.lang.String fqcn, java.lang.ClassLoader loader, boolean currentContext)LoggerContextBasicContextSelector. getContext(java.lang.String fqcn, java.lang.ClassLoader loader, boolean currentContext, java.net.URI configLocation)LoggerContextClassLoaderContextSelector. getContext(java.lang.String fqcn, java.lang.ClassLoader loader, boolean currentContext)LoggerContextClassLoaderContextSelector. getContext(java.lang.String fqcn, java.lang.ClassLoader loader, boolean currentContext, java.net.URI configLocation)LoggerContextClassLoaderContextSelector. getContext(java.lang.String fqcn, java.lang.ClassLoader loader, java.util.Map.Entry<java.lang.String,java.lang.Object> entry, boolean currentContext, java.net.URI configLocation)LoggerContextContextSelector. getContext(java.lang.String fqcn, java.lang.ClassLoader loader, boolean currentContext)Returns the LoggerContext.LoggerContextContextSelector. getContext(java.lang.String fqcn, java.lang.ClassLoader loader, boolean currentContext, java.net.URI configLocation)Returns the LoggerContext.default LoggerContextContextSelector. getContext(java.lang.String fqcn, java.lang.ClassLoader loader, java.util.Map.Entry<java.lang.String,java.lang.Object> entry, boolean currentContext)Returns the LoggerContext.default LoggerContextContextSelector. getContext(java.lang.String fqcn, java.lang.ClassLoader loader, java.util.Map.Entry<java.lang.String,java.lang.Object> entry, boolean currentContext, java.net.URI configLocation)Returns the LoggerContext.LoggerContextJndiContextSelector. getContext(java.lang.String fqcn, java.lang.ClassLoader loader, boolean currentContext)LoggerContextJndiContextSelector. getContext(java.lang.String fqcn, java.lang.ClassLoader loader, boolean currentContext, java.net.URI configLocation)protected LoggerContextClassLoaderContextSelector. getDefault()LoggerContextBasicContextSelector. locateContext(java.lang.String name, java.lang.String configLocation)private LoggerContextClassLoaderContextSelector. locateContext(java.lang.ClassLoader loaderOrNull, java.util.Map.Entry<java.lang.String,java.lang.Object> entry, java.net.URI configLocation)LoggerContextJndiContextSelector. locateContext(java.lang.String name, java.lang.Object externalContext, java.net.URI configLocation)LoggerContextNamedContextSelector. locateContext(java.lang.String name, java.lang.Object externalContext, java.net.URI configLocation)Locate the LoggerContext with the specified name.LoggerContextJndiContextSelector. removeContext(java.lang.String name)LoggerContextNamedContextSelector. removeContext(java.lang.String name)Locate the LoggerContext with the specified name using the default configuration.Methods in org.apache.logging.log4j.core.selector that return types with arguments of type LoggerContext Modifier and Type Method Description java.util.List<LoggerContext>BasicContextSelector. getLoggerContexts()java.util.List<LoggerContext>ClassLoaderContextSelector. getLoggerContexts()java.util.List<LoggerContext>ContextSelector. getLoggerContexts()Returns a List of all the available LoggerContexts.java.util.List<LoggerContext>JndiContextSelector. getLoggerContexts()Methods in org.apache.logging.log4j.core.selector with parameters of type LoggerContext Modifier and Type Method Description voidBasicContextSelector. removeContext(LoggerContext context)voidClassLoaderContextSelector. removeContext(LoggerContext context)voidContextSelector. removeContext(LoggerContext context)Remove any references to the LoggerContext.voidJndiContextSelector. removeContext(LoggerContext context) -
Uses of LoggerContext in org.apache.logging.log4j.web
Fields in org.apache.logging.log4j.web declared as LoggerContext Modifier and Type Field Description private LoggerContextLog4jWebInitializerImpl. loggerContextMethods in org.apache.logging.log4j.web that return LoggerContext Modifier and Type Method Description static LoggerContextWebLoggerContextUtils. getRequiredWebLoggerContext(jakarta.servlet.ServletContext servletContext)Finds the mainLoggerContextconfigured for the given ServletContext.static LoggerContextWebLoggerContextUtils. getWebLoggerContext(jakarta.servlet.ServletContext servletContext)Finds the mainLoggerContextconfigured for the given ServletContext.Methods in org.apache.logging.log4j.web with parameters of type LoggerContext Modifier and Type Method Description static voidWebLoggerContextUtils. setServletContext(LoggerContext lc, jakarta.servlet.ServletContext servletContext)
-