You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by na...@apache.org on 2022/01/03 15:01:27 UTC
[ignite-extensions] branch master updated: IGNITE-16213 Updated the zookeeper-ip-finder-ext to use the slf4j facade for logging third party libraries (#89)
This is an automated email from the ASF dual-hosted git repository.
namelchev pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ignite-extensions.git
The following commit(s) were added to refs/heads/master by this push:
new 4c94a0b IGNITE-16213 Updated the zookeeper-ip-finder-ext to use the slf4j facade for logging third party libraries (#89)
4c94a0b is described below
commit 4c94a0b696886d60a15f5807ba66234cf049f8f9
Author: Sergei Ryzhov <s....@gmail.com>
AuthorDate: Mon Jan 3 18:01:18 2022 +0300
IGNITE-16213 Updated the zookeeper-ip-finder-ext to use the slf4j facade for logging third party libraries (#89)
---
modules/zookeeper-ip-finder-ext/README.txt | 3 +++
modules/zookeeper-ip-finder-ext/pom.xml | 21 +++++++++++++++------
2 files changed, 18 insertions(+), 6 deletions(-)
diff --git a/modules/zookeeper-ip-finder-ext/README.txt b/modules/zookeeper-ip-finder-ext/README.txt
index 87b8d3a..c39a394 100644
--- a/modules/zookeeper-ip-finder-ext/README.txt
+++ b/modules/zookeeper-ip-finder-ext/README.txt
@@ -10,6 +10,9 @@ Depending on how you use Ignite, you can an extension using one of the following
- Add libraries from lib/optional/{module-dir} to the classpath of your application.
- Add a module as a Maven dependency to your project.
+The module depends on third-party libraries that use the slf4j facade for logging.
+You can set up an underlying logging framework yourself.
+
Importing Apache Ignite ZooKeeper IpFinder Module In Maven Project
---------------------------------------------------------
diff --git a/modules/zookeeper-ip-finder-ext/pom.xml b/modules/zookeeper-ip-finder-ext/pom.xml
index 0cff919..4f0ed6e 100644
--- a/modules/zookeeper-ip-finder-ext/pom.xml
+++ b/modules/zookeeper-ip-finder-ext/pom.xml
@@ -92,6 +92,20 @@
<groupId>org.apache.zookeeper</groupId>
<artifactId>zookeeper</artifactId>
<version>${zookeeper.version}</version>
+ <exclusions>
+ <exclusion>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-api</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-log4j12</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>log4j</groupId>
+ <artifactId>log4j</artifactId>
+ </exclusion>
+ </exclusions>
</dependency>
<dependency>
@@ -107,14 +121,9 @@
</dependency>
<dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-log4j12</artifactId>
- <version>${slf4j.version}</version>
- </dependency>
-
- <dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
+ <scope>test</scope>
</dependency>
<dependency>