A B C D G I L N O P S W 

A

append(LogEvent) - Method in class org.apache.logging.log4j.web.appender.ServletAppender
 

B

build() - Method in class org.apache.logging.log4j.web.appender.ServletAppender.Builder
 

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
 
contextInitialized(ServletContextEvent) - Method in class org.apache.logging.log4j.web.Log4jServletContextListener
 
createAppender(Layout<? extends Serializable>, Filter, String, boolean) - Static method in class org.apache.logging.log4j.web.appender.ServletAppender

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_CONTEXT_SELECTOR_NAMED - Static variable in interface org.apache.logging.log4j.web.Log4jWebSupport
The ServletContext parameter name for the JNDI flag.
isLogThrowables() - Method in class org.apache.logging.log4j.web.appender.ServletAppender.Builder

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
 
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
 

N

newBuilder() - Static method in class org.apache.logging.log4j.web.appender.ServletAppender
 

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 Java EE web application.
org.apache.logging.log4j.web.appender - package org.apache.logging.log4j.web.appender
 

P

put(String, ServletRequest) - Static method in class org.apache.logging.log4j.web.ServletRequestThreadContext
 
put(String, String, Object) - 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, HttpServletRequest) - Static method in class org.apache.logging.log4j.web.ServletRequestThreadContext
 

S

ServletAppender - Class in org.apache.logging.log4j.web.appender
Logs using the ServletContext's log method
ServletAppender.Builder<B extends ServletAppender.Builder<B>> - Class in org.apache.logging.log4j.web.appender
 
ServletAppender.Builder() - Constructor for class org.apache.logging.log4j.web.appender.ServletAppender.Builder
 
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().
setLogThrowables(boolean) - Method in class org.apache.logging.log4j.web.appender.ServletAppender.Builder
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.
A B C D G I L N O P S W 

Copyright © 1999-2018 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.