Log4jWebSupport.setLoggerContext()
.ServletContext
attribute that the LoggerContext
is stored in.LoggerContext
configured for the given ServletContext.ServletContext
if it has already been assigned to a LoggerContext's external context.Log4jWebLifeCycle
singleton for the given
ServletContext.LoggerContext
configured for the given ServletContext.ServletContext
parameter name for the flag that disables Log4j's auto-initialization
in Servlet 3.0+ web applications.ServletContext
parameter name for the JNDI flag.ServletContext.log(String, Throwable)
if true and with ServletContext.log(String)
if false.ServletContext
parameter name for the location of the configuration.ServletContext
parameter name for the name of the
LoggerContext
.LoggerContext
in a Java EE web application.LogManager.getLogger()
.ServletContext.log(String, Throwable)
if true and with ServletContext.log(String)
if false.ServletContext
attribute that the singleton support instance
is stored in.LoggerContext
associated with a
particular ServletContext.Log4jWebSupport.setLoggerContext()
, executes the runnable argument, then clears the
logger context by calling Log4jWebSupport.clearLoggerContext()
.LoggerContext
before execution and clearing it after execution.Copyright © 1999-2020 The Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.