Web Servlet Containers
The Web module provides support for automatically enabling Log4j in Servlet containers.
See the user manual page on Web Applications and JSPs
for details on using Log4j 2 in Web Applications.
- <dependencyManagement>
- <dependencies>
- <dependency>
- <groupId></groupId>
- <artifactId></artifactId>
- <version></version>
- </dependency>
- </dependencies>
- </dependencyManagement>
- <dependencies>
- <dependency>
- <groupId></groupId>
- <artifactId></artifactId>
- </dependency>
- </dependencies>
Requirements
The Web module requires at least Java 6 and Servlet 2.5.
|