You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by gg...@apache.org on 2020/05/20 13:46:24 UTC

[logging-log4j2] branch release-2.x updated: Can't use log4j-slf4j-impl in the tests because it causes a recursive call to Log4j since the MongoDB version 3 (as opposed to 2) uses SLF4J for its own logging.

This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch release-2.x
in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git


The following commit(s) were added to refs/heads/release-2.x by this push:
     new 6057afc  Can't use log4j-slf4j-impl in the tests because it causes a recursive call to Log4j since the MongoDB version 3 (as opposed to 2) uses SLF4J for its own logging.
6057afc is described below

commit 6057afcaa31c4273403da3798138d51ac8cdbaa6
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Wed May 20 09:46:19 2020 -0400

    Can't use log4j-slf4j-impl in the tests because it causes a recursive
    call to Log4j since the MongoDB version 3 (as opposed to 2) uses SLF4J
    for its own logging.
---
 log4j-mongodb3/pom.xml | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/log4j-mongodb3/pom.xml b/log4j-mongodb3/pom.xml
index 603e6cf..bb1f04f 100644
--- a/log4j-mongodb3/pom.xml
+++ b/log4j-mongodb3/pom.xml
@@ -70,11 +70,6 @@
       <type>test-jar</type>
     </dependency>
     <dependency>
-      <groupId>org.apache.logging.log4j</groupId>
-      <artifactId>log4j-slf4j-impl</artifactId>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
       <groupId>de.flapdoodle.embed</groupId>
       <artifactId>de.flapdoodle.embed.mongo</artifactId>
       <scope>test</scope>