diff --git a/pom.xml b/pom.xml index 44d76e28073a..cbe9b31bc81b 100755 --- a/pom.xml +++ b/pom.xml @@ -1232,25 +1232,7 @@ - banned-log4j - - enforce - - - - - - log4j:log4j - - - We do not allow log4j dependencies as now we use log4j2 - - - - - - - banned-slf4j-log4j12 + banned-other-logging-framework enforce @@ -1258,10 +1240,14 @@ + log4j:* org.slf4j:slf4j-log4j12 + ch.qos.reload4j:* + org.slf4j:slf4j-reload4j + ch.qos.logback:* - We do not allow slf4j-log4j12 dependency as now we use log4j-slf4j-impl + We do not allow other logging frameworks as now we use log4j2