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.

See:
          Description

Interface Summary
Log4jWebSupport Specifies an interface for setting and clearing a thread-bound LoggerContext in a Java EE web application.
 

Class Summary
Log4jServletContainerInitializer In a Servlet 3.0 or newer environment, this initializer is responsible for starting up Log4j logging before anything else happens in application initialization.
Log4jServletContextListener In environments older than Servlet 3.0, this initializer is responsible for starting up Log4j logging before anything else happens in application initialization.
Log4jServletFilter 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.
WebLoggerContextUtils Convenience methods for retrieving the LoggerContext associated with a particular ServletContext.
WebLookup  
 

Package org.apache.logging.log4j.web Description

The classes in this package are responsible for properly initializing and deinitializing Log4j in a Java EE web application.

See Also:
Using Log4j 2 in Web Applications


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