aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorramverma <ram.krishna.verma@ericsson.com>2018-07-10 11:26:13 +0100
committerramverma <ram.krishna.verma@ericsson.com>2018-07-10 11:26:43 +0100
commitff50c5c834f5ca4af9d3d9e5d4fa25566fc12ebe (patch)
treee1cf12c3a593daf84cb7533bb060b1a8807f9c6a
parentda923d791ae2e3ca67dd9711e7c3f173b500abce (diff)
Fix apex-pdp logging issue
apex-pdp logging was failing due to multiple slf4j bindings. Excluded the slf4j-log4j12 transitive dependency coming through zookeeper. Change-Id: I8745c349fecc89e4b3a84d8a79b1dc5bb47f89c8 Issue-ID: POLICY-866 Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
-rw-r--r--plugins/plugins-context/context-locking/context-locking-curator/pom.xml6
1 files changed, 5 insertions, 1 deletions
diff --git a/plugins/plugins-context/context-locking/context-locking-curator/pom.xml b/plugins/plugins-context/context-locking/context-locking-curator/pom.xml
index 1094ced4e..220bfbae6 100644
--- a/plugins/plugins-context/context-locking/context-locking-curator/pom.xml
+++ b/plugins/plugins-context/context-locking/context-locking-curator/pom.xml
@@ -53,12 +53,16 @@
<groupId>org.apache.zookeeper</groupId>
<artifactId>zookeeper</artifactId>
<version>3.5.4-beta</version>
- <exclusions>
+ <exclusions>
<!-- Zookeeper uses an ancient version of log4j -->
<exclusion>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
</exclusion>
+ <exclusion>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-log4j12</artifactId>
+ </exclusion>
</exclusions>
</dependency>
<dependency>