I\'ve migrated my application to log4j 2, and I\'ve configured it via log4j2.xml
However, some of the libraries I\'m using depend on log4j 1. If I run the applicatio
In a maven project using log4j2, it is possible to exclude log4j from modules that use it, in the pom, in order to enable log4j2 to take over:
commons-configuration
commons-configuration
1.4
log4j
log4j
org.apache.logging.log4j
log4j-api
2.3
org.apache.logging.log4j
log4j-core
2.3
org.apache.logging.log4j
log4j-1.2-api
2.3
org.apache.logging.log4j
log4j-web
2.3
More info about that in the log4j FAQ