Index

C D G I L O P S W 
All Classes and Interfaces|All Packages|Constant Field Values

C

clearLoggerContext() - Method in interface org.apache.logging.log4j.web.Log4jWebSupport
Clears the logger context set up in Log4jWebSupport.setLoggerContext().
CONTEXT_ATTRIBUTE - Static variable in interface org.apache.logging.log4j.web.Log4jWebSupport
The attribute key for the ServletContext attribute that the LoggerContext is stored in.
contextDestroyed(ServletContextEvent) - Method in class org.apache.logging.log4j.web.Log4jServletContextListener
 
contextDestroyed(ServletContextEvent) - Method in class org.apache.logging.log4j.web.Log4jShutdownOnContextDestroyedListener
 
contextInitialized(ServletContextEvent) - Method in class org.apache.logging.log4j.web.Log4jServletContextListener
 
contextInitialized(ServletContextEvent) - Method in class org.apache.logging.log4j.web.Log4jShutdownOnContextDestroyedListener
 
createExternalEntry(ServletContext) - Static method in class org.apache.logging.log4j.web.WebLoggerContextUtils
 

D

destroy() - Method in class org.apache.logging.log4j.web.Log4jServletFilter
 
doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class org.apache.logging.log4j.web.Log4jServletFilter
 

G

getRequiredWebLoggerContext(ServletContext) - Static method in class org.apache.logging.log4j.web.WebLoggerContextUtils
Finds the main LoggerContext configured for the given ServletContext.
getServletContext() - Static method in class org.apache.logging.log4j.web.WebLoggerContextUtils
Gets the current ServletContext if it has already been assigned to a LoggerContext's external context.
getWebLifeCycle(ServletContext) - Static method in class org.apache.logging.log4j.web.WebLoggerContextUtils
Finds or initializes the Log4jWebLifeCycle singleton for the given ServletContext.
getWebLoggerContext(ServletContext) - Static method in class org.apache.logging.log4j.web.WebLoggerContextUtils
Finds the main LoggerContext configured for the given ServletContext.

I

init(FilterConfig) - Method in class org.apache.logging.log4j.web.Log4jServletFilter
 
IS_LOG4J_AUTO_INITIALIZATION_DISABLED - Static variable in interface org.apache.logging.log4j.web.Log4jWebSupport
The ServletContext parameter name for the flag that disables Log4j's auto-initialization in Servlet 3.0+ web applications.
IS_LOG4J_AUTO_SHUTDOWN_DISABLED - Static variable in interface org.apache.logging.log4j.web.Log4jWebSupport
The ServletContext parameter name for the flag that disables Log4j's auto-shutdown in Servlet 3.0+ web applications.
IS_LOG4J_CONTEXT_SELECTOR_NAMED - Static variable in interface org.apache.logging.log4j.web.Log4jWebSupport
The ServletContext parameter name for the JNDI flag.

L

LOG4J_CONFIG_LOCATION - Static variable in interface org.apache.logging.log4j.web.Log4jWebSupport
The ServletContext parameter name for the location of the configuration.
LOG4J_CONTEXT_NAME - Static variable in interface org.apache.logging.log4j.web.Log4jWebSupport
The ServletContext parameter name for the name of the LoggerContext.
Log4jServletContainerInitializer - Class in org.apache.logging.log4j.web
In a Servlet 3.0 or newer environment, this initializer is responsible for starting up Log4j logging before anything else happens in application initialization.
Log4jServletContainerInitializer() - Constructor for class org.apache.logging.log4j.web.Log4jServletContainerInitializer
 
Log4jServletContextListener - Class in org.apache.logging.log4j.web
In environments older than Servlet 3.0, this initializer is responsible for starting up Log4j logging before anything else happens in application initialization.
Log4jServletContextListener() - Constructor for class org.apache.logging.log4j.web.Log4jServletContextListener
 
Log4jServletFilter - Class in org.apache.logging.log4j.web
This is responsible for the following: Clearing the logger context when the application has finished starting up. Setting the logger context before processing a request and clearing it after processing a request. Setting the logger context when the application is starting to shut down. This filter is a once-per-request filter.
Log4jServletFilter() - Constructor for class org.apache.logging.log4j.web.Log4jServletFilter
 
Log4jShutdownOnContextDestroyedListener - Class in org.apache.logging.log4j.web
 
Log4jShutdownOnContextDestroyedListener() - Constructor for class org.apache.logging.log4j.web.Log4jShutdownOnContextDestroyedListener
 
Log4jWebSupport - Interface in org.apache.logging.log4j.web
Specifies an interface for setting and clearing a thread-bound LoggerContext in a Java EE web application.
lookup(LogEvent, String) - Method in class org.apache.logging.log4j.web.WebLookup
 

O

onStartup(Set<Class<?>>, ServletContext) - Method in class org.apache.logging.log4j.web.Log4jServletContainerInitializer
 
org.apache.logging.log4j.web - package org.apache.logging.log4j.web
The classes in this package are responsible for properly initializing and deinitializing Log4j in a Jakarta EE web application.

P

put(String, HttpServletRequest) - Static method in class org.apache.logging.log4j.web.ServletRequestThreadContext
 
put(String, ServletRequest) - Static method in class org.apache.logging.log4j.web.ServletRequestThreadContext
 
put(String, String) - Static method in class org.apache.logging.log4j.web.ServletRequestThreadContext
 
put(String, String, Object) - Static method in class org.apache.logging.log4j.web.ServletRequestThreadContext
 

S

ServletRequestThreadContext - Class in org.apache.logging.log4j.web
 
ServletRequestThreadContext() - Constructor for class org.apache.logging.log4j.web.ServletRequestThreadContext
 
setLoggerContext() - Method in interface org.apache.logging.log4j.web.Log4jWebSupport
Sets the logger context so that code executing afterwards can easily and quickly access loggers via LogManager.getLogger().
setServletContext(LoggerContext, ServletContext) - Static method in class org.apache.logging.log4j.web.WebLoggerContextUtils
 
SUPPORT_ATTRIBUTE - Static variable in interface org.apache.logging.log4j.web.Log4jWebSupport
The attribute key for the ServletContext attribute that the singleton support instance is stored in.

W

WebLoggerContextUtils - Class in org.apache.logging.log4j.web
Convenience methods for retrieving the LoggerContext associated with a particular ServletContext.
WebLookup - Class in org.apache.logging.log4j.web
 
WebLookup() - Constructor for class org.apache.logging.log4j.web.WebLookup
 
wrapExecution(Runnable) - Method in interface org.apache.logging.log4j.web.Log4jWebSupport
Sets the logger context by calling Log4jWebSupport.setLoggerContext(), executes the runnable argument, then clears the logger context by calling Log4jWebSupport.clearLoggerContext().
wrapExecutionContext(ServletContext, Runnable) - Static method in class org.apache.logging.log4j.web.WebLoggerContextUtils
Wraps a Runnable instance by setting its thread context LoggerContext before execution and clearing it after execution.
C D G I L O P S W 
All Classes and Interfaces|All Packages|Constant Field Values