<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-web</artifactId>
<version>2.2</version>
</dependency>
<parent> <groupId>org.apache.logging.log4j</groupId> <artifactId>log4j</artifactId> <version>2.2</version> </parent>
compile
|-- org.apache.logging.log4j:log4j-api
|-- org.apache.logging.log4j:log4j-core
provided
|-- javax.servlet:javax.servlet-api:3.0.1
test
|-- org.apache.logging.log4j:log4j-core
|-- junit:junit