You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2023/01/17 07:16:10 UTC

[camel] 12/20: CAMEL-18936 - components - Add log4j-core so logging to logfile works

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

acosentino pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git

commit dd3fe88e7c60143d0091a0623715759380625e68
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Jan 16 18:38:25 2023 +0100

    CAMEL-18936 - components - Add log4j-core so logging to logfile works
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 components/camel-service/pom.xml                 |  6 ------
 components/camel-servlet/pom.xml                 |  5 -----
 components/camel-shiro/pom.xml                   |  5 -----
 components/camel-sjms/pom.xml                    |  5 -----
 components/camel-sjms2/pom.xml                   |  7 -------
 components/camel-slack/pom.xml                   |  6 ------
 components/camel-smpp/pom.xml                    |  5 -----
 components/camel-snakeyaml/pom.xml               |  5 -----
 components/camel-snmp/pom.xml                    |  5 -----
 components/camel-soap/pom.xml                    |  5 -----
 components/camel-splunk-hec/pom.xml              |  5 -----
 components/camel-splunk/pom.xml                  |  5 -----
 components/camel-spring-batch/pom.xml            |  5 -----
 components/camel-spring-integration/pom.xml      |  5 -----
 components/camel-spring-jdbc/pom.xml             |  5 -----
 components/camel-spring-ldap/pom.xml             |  5 -----
 components/camel-spring-main/pom.xml             |  5 -----
 components/camel-spring-rabbitmq/pom.xml         |  5 -----
 components/camel-spring-redis/pom.xml            |  5 -----
 components/camel-spring-security/pom.xml         |  5 -----
 components/camel-spring-ws/pom.xml               |  5 -----
 components/camel-spring-xml/pom.xml              |  7 -------
 components/camel-sql/pom.xml                     |  5 -----
 components/camel-ssh/pom.xml                     |  5 -----
 components/camel-stax/pom.xml                    |  5 -----
 components/camel-stitch/pom.xml                  |  5 -----
 components/camel-stomp/pom.xml                   |  5 -----
 components/camel-stream/pom.xml                  |  5 -----
 components/camel-stringtemplate/pom.xml          |  5 -----
 components/camel-syslog/pom.xml                  |  5 -----
 components/camel-tarfile/pom.xml                 |  5 -----
 components/camel-telegram/pom.xml                |  5 -----
 components/camel-threadpoolfactory-vertx/pom.xml |  5 -----
 components/camel-thrift/pom.xml                  |  5 -----
 components/camel-tika/pom.xml                    |  5 -----
 components/camel-tracing/pom.xml                 |  5 -----
 components/camel-twilio/pom.xml                  |  7 -------
 components/camel-twitter/pom.xml                 |  5 -----
 components/camel-undertow/pom.xml                |  5 -----
 components/camel-univocity-parsers/pom.xml       |  5 -----
 components/camel-velocity/pom.xml                |  5 -----
 components/camel-wal/pom.xml                     | 11 -----------
 components/camel-weather/pom.xml                 |  5 -----
 components/camel-web3j/pom.xml                   |  5 -----
 components/camel-webhook/pom.xml                 |  5 -----
 components/camel-websocket/pom.xml               |  5 -----
 components/camel-weka/pom.xml                    |  5 -----
 components/camel-whatsapp/pom.xml                |  5 -----
 components/camel-wordpress/pom.xml               |  7 -------
 components/camel-workday/pom.xml                 |  7 -------
 components/camel-xchange/pom.xml                 |  5 -----
 components/camel-xj/pom.xml                      |  5 -----
 components/camel-xmlsecurity/pom.xml             |  5 -----
 components/camel-xmpp/pom.xml                    |  5 -----
 components/camel-xslt-saxon/pom.xml              |  5 -----
 components/camel-zendesk/pom.xml                 |  7 -------
 components/camel-zip-deflater/pom.xml            |  5 -----
 components/camel-zipfile/pom.xml                 |  5 -----
 components/camel-zookeeper-master/pom.xml        |  6 ------
 components/camel-zookeeper/pom.xml               |  5 -----
 60 files changed, 321 deletions(-)

diff --git a/components/camel-service/pom.xml b/components/camel-service/pom.xml
index 5b4ec90179e..7cb8d399cca 100644
--- a/components/camel-service/pom.xml
+++ b/components/camel-service/pom.xml
@@ -49,12 +49,6 @@
             <scope>test</scope>
         </dependency>
 
-        <dependency>
-            <groupId>org.apache.logging.log4j</groupId>
-            <artifactId>log4j-slf4j2-impl</artifactId>
-            <scope>test</scope>
-        </dependency>
-
     </dependencies>
 
     <build>
diff --git a/components/camel-servlet/pom.xml b/components/camel-servlet/pom.xml
index 13ce276b7e5..caf8da678cc 100644
--- a/components/camel-servlet/pom.xml
+++ b/components/camel-servlet/pom.xml
@@ -78,11 +78,6 @@
             <artifactId>junit-jupiter</artifactId>
             <scope>test</scope>
         </dependency>
-        <dependency>
-            <groupId>org.apache.logging.log4j</groupId>
-            <artifactId>log4j-slf4j2-impl</artifactId>
-            <scope>test</scope>
-        </dependency>
         <dependency>
             <groupId>org.springframework</groupId>
             <artifactId>spring-web</artifactId>
diff --git a/components/camel-shiro/pom.xml b/components/camel-shiro/pom.xml
index 4d4da2871e6..61aee34468e 100644
--- a/components/camel-shiro/pom.xml
+++ b/components/camel-shiro/pom.xml
@@ -60,11 +60,6 @@
             <artifactId>junit-jupiter</artifactId>
             <scope>test</scope>
         </dependency>
-        <dependency>
-            <groupId>org.apache.logging.log4j</groupId>
-            <artifactId>log4j-slf4j2-impl</artifactId>
-            <scope>test</scope>
-        </dependency>
         <dependency>
             <groupId>commons-logging</groupId>
             <artifactId>commons-logging</artifactId>
diff --git a/components/camel-sjms/pom.xml b/components/camel-sjms/pom.xml
index 4a84a93fb87..ff1dc8b822c 100644
--- a/components/camel-sjms/pom.xml
+++ b/components/camel-sjms/pom.xml
@@ -67,11 +67,6 @@
             <version>${pooled-jms-version}</version>
             <scope>test</scope>
         </dependency>
-        <dependency>
-            <groupId>org.apache.logging.log4j</groupId>
-            <artifactId>log4j-slf4j2-impl</artifactId>
-            <scope>test</scope>
-        </dependency>
         <dependency>
             <groupId>commons-io</groupId>
             <artifactId>commons-io</artifactId>
diff --git a/components/camel-sjms2/pom.xml b/components/camel-sjms2/pom.xml
index 544c9fc498c..73f0d0ef893 100644
--- a/components/camel-sjms2/pom.xml
+++ b/components/camel-sjms2/pom.xml
@@ -52,13 +52,6 @@
             <scope>provided</scope>
         </dependency>
 
-        <!-- logging -->
-        <dependency>
-            <groupId>org.apache.logging.log4j</groupId>
-            <artifactId>log4j-slf4j2-impl</artifactId>
-            <scope>test</scope>
-        </dependency>
-
         <!-- testing -->
         <dependency>
             <groupId>org.apache.camel</groupId>
diff --git a/components/camel-slack/pom.xml b/components/camel-slack/pom.xml
index 431881324e9..f423563b750 100644
--- a/components/camel-slack/pom.xml
+++ b/components/camel-slack/pom.xml
@@ -77,12 +77,6 @@
             <artifactId>camel-undertow</artifactId>
             <scope>test</scope>
         </dependency>
-        <!-- logging -->
-        <dependency>
-            <groupId>org.apache.logging.log4j</groupId>
-            <artifactId>log4j-slf4j2-impl</artifactId>
-            <scope>test</scope>
-        </dependency>
 
     </dependencies>
 </project>
diff --git a/components/camel-smpp/pom.xml b/components/camel-smpp/pom.xml
index 670a23e4cc4..fbf44175229 100644
--- a/components/camel-smpp/pom.xml
+++ b/components/camel-smpp/pom.xml
@@ -67,11 +67,6 @@
             <artifactId>hamcrest</artifactId>
             <scope>test</scope>
         </dependency>
-        <dependency>
-            <groupId>org.apache.logging.log4j</groupId>
-            <artifactId>log4j-slf4j2-impl</artifactId>
-            <scope>test</scope>
-        </dependency>
         <dependency>
             <groupId>org.jsmpp</groupId>
             <artifactId>jsmpp-examples</artifactId>
diff --git a/components/camel-snakeyaml/pom.xml b/components/camel-snakeyaml/pom.xml
index b1cb8f7b1e6..05d73d350d7 100644
--- a/components/camel-snakeyaml/pom.xml
+++ b/components/camel-snakeyaml/pom.xml
@@ -47,11 +47,6 @@
             <artifactId>camel-test-spring-junit5</artifactId>
             <scope>test</scope>
         </dependency>
-        <dependency>
-            <groupId>org.apache.logging.log4j</groupId>
-            <artifactId>log4j-slf4j2-impl</artifactId>
-            <scope>test</scope>
-        </dependency>
         <dependency>
             <groupId>org.junit.jupiter</groupId>
             <artifactId>junit-jupiter</artifactId>
diff --git a/components/camel-snmp/pom.xml b/components/camel-snmp/pom.xml
index 62ab5a03915..a8866f5c5e8 100644
--- a/components/camel-snmp/pom.xml
+++ b/components/camel-snmp/pom.xml
@@ -57,11 +57,6 @@
             <artifactId>junit-jupiter</artifactId>
             <scope>test</scope>
         </dependency>
-        <dependency>
-            <groupId>org.apache.logging.log4j</groupId>
-            <artifactId>log4j-slf4j2-impl</artifactId>
-            <scope>test</scope>
-        </dependency>
     </dependencies>
 
 </project>
diff --git a/components/camel-soap/pom.xml b/components/camel-soap/pom.xml
index b35cb31fcc5..041bb6a7c4f 100644
--- a/components/camel-soap/pom.xml
+++ b/components/camel-soap/pom.xml
@@ -88,11 +88,6 @@
             <artifactId>camel-cxf-soap</artifactId>
             <scope>test</scope>
         </dependency>
-        <dependency>
-            <groupId>org.apache.logging.log4j</groupId>
-            <artifactId>log4j-slf4j2-impl</artifactId>
-            <scope>test</scope>
-        </dependency>
         <dependency>
             <groupId>org.springframework</groupId>
             <artifactId>spring-test</artifactId>
diff --git a/components/camel-splunk-hec/pom.xml b/components/camel-splunk-hec/pom.xml
index a702041c326..d88beb6490e 100644
--- a/components/camel-splunk-hec/pom.xml
+++ b/components/camel-splunk-hec/pom.xml
@@ -58,11 +58,6 @@
             <artifactId>camel-test-junit5</artifactId>
             <scope>test</scope>
         </dependency>
-        <dependency>
-            <groupId>org.apache.logging.log4j</groupId>
-            <artifactId>log4j-slf4j2-impl</artifactId>
-            <scope>test</scope>
-        </dependency>
         <dependency>
             <groupId>org.mockito</groupId>
             <artifactId>mockito-core</artifactId>
diff --git a/components/camel-splunk/pom.xml b/components/camel-splunk/pom.xml
index 2d95eda3782..482e4baf366 100644
--- a/components/camel-splunk/pom.xml
+++ b/components/camel-splunk/pom.xml
@@ -69,11 +69,6 @@
             <artifactId>camel-test-junit5</artifactId>
             <scope>test</scope>
         </dependency>
-        <dependency>
-            <groupId>org.apache.logging.log4j</groupId>
-            <artifactId>log4j-slf4j2-impl</artifactId>
-            <scope>test</scope>
-        </dependency>
         <dependency>
             <groupId>org.mockito</groupId>
             <artifactId>mockito-junit-jupiter</artifactId>
diff --git a/components/camel-spring-batch/pom.xml b/components/camel-spring-batch/pom.xml
index 9310cd154f0..7977cac574f 100644
--- a/components/camel-spring-batch/pom.xml
+++ b/components/camel-spring-batch/pom.xml
@@ -45,11 +45,6 @@
         </dependency>
 
         <!-- test dependencies -->
-        <dependency>
-            <groupId>org.apache.logging.log4j</groupId>
-            <artifactId>log4j-slf4j2-impl</artifactId>
-            <scope>test</scope>
-        </dependency>
         <dependency>
             <groupId>org.apache.commons</groupId>
             <artifactId>commons-lang3</artifactId>
diff --git a/components/camel-spring-integration/pom.xml b/components/camel-spring-integration/pom.xml
index 28c1f8026cc..c52ba9f4972 100644
--- a/components/camel-spring-integration/pom.xml
+++ b/components/camel-spring-integration/pom.xml
@@ -92,11 +92,6 @@
             <artifactId>camel-test-spring-junit5</artifactId>
             <scope>test</scope>
         </dependency>
-        <dependency>
-            <groupId>org.apache.logging.log4j</groupId>
-            <artifactId>log4j-slf4j2-impl</artifactId>
-            <scope>test</scope>
-        </dependency>
     </dependencies>
 
     <build>
diff --git a/components/camel-spring-jdbc/pom.xml b/components/camel-spring-jdbc/pom.xml
index 69ef9913a72..6402ac76ab7 100644
--- a/components/camel-spring-jdbc/pom.xml
+++ b/components/camel-spring-jdbc/pom.xml
@@ -65,10 +65,5 @@
             <artifactId>derby</artifactId>
             <scope>test</scope>
         </dependency>
-        <dependency>
-            <groupId>org.apache.logging.log4j</groupId>
-            <artifactId>log4j-slf4j2-impl</artifactId>
-            <scope>test</scope>
-        </dependency>
     </dependencies>
 </project>
diff --git a/components/camel-spring-ldap/pom.xml b/components/camel-spring-ldap/pom.xml
index c7d9e8d2980..011cc9d1daf 100644
--- a/components/camel-spring-ldap/pom.xml
+++ b/components/camel-spring-ldap/pom.xml
@@ -57,11 +57,6 @@
         </dependency>
 
         <!-- testing -->
-        <dependency>
-            <groupId>org.apache.logging.log4j</groupId>
-            <artifactId>log4j-slf4j2-impl</artifactId>
-            <scope>test</scope>
-        </dependency>
         <dependency>
             <groupId>org.apache.camel</groupId>
             <artifactId>camel-test-spring-junit5</artifactId>
diff --git a/components/camel-spring-main/pom.xml b/components/camel-spring-main/pom.xml
index 792bde1477a..f09f9ddacf7 100644
--- a/components/camel-spring-main/pom.xml
+++ b/components/camel-spring-main/pom.xml
@@ -62,11 +62,6 @@
             <artifactId>junit-jupiter</artifactId>
             <scope>test</scope>
         </dependency>
-        <dependency>
-            <groupId>org.apache.logging.log4j</groupId>
-            <artifactId>log4j-slf4j2-impl</artifactId>
-            <scope>test</scope>
-        </dependency>
         <dependency>
             <groupId>org.springframework</groupId>
             <artifactId>spring-test</artifactId>
diff --git a/components/camel-spring-rabbitmq/pom.xml b/components/camel-spring-rabbitmq/pom.xml
index 2dc2fccac70..82a86cd39ba 100644
--- a/components/camel-spring-rabbitmq/pom.xml
+++ b/components/camel-spring-rabbitmq/pom.xml
@@ -88,11 +88,6 @@
             <version>${qpid-broker-version}</version>
             <scope>test</scope>
         </dependency>
-        <dependency>
-            <groupId>org.apache.logging.log4j</groupId>
-            <artifactId>log4j-slf4j2-impl</artifactId>
-            <scope>test</scope>
-        </dependency>
         <dependency>
             <groupId>org.awaitility</groupId>
             <artifactId>awaitility</artifactId>
diff --git a/components/camel-spring-redis/pom.xml b/components/camel-spring-redis/pom.xml
index 9a90cf15b58..9ab5eb96c1d 100644
--- a/components/camel-spring-redis/pom.xml
+++ b/components/camel-spring-redis/pom.xml
@@ -61,11 +61,6 @@
             <artifactId>mockito-junit-jupiter</artifactId>
             <scope>test</scope>
         </dependency>
-        <dependency>
-            <groupId>org.apache.logging.log4j</groupId>
-            <artifactId>log4j-slf4j2-impl</artifactId>
-            <scope>test</scope>
-        </dependency>
         <dependency>
             <groupId>jakarta.annotation</groupId>
             <artifactId>jakarta.annotation-api</artifactId>
diff --git a/components/camel-spring-security/pom.xml b/components/camel-spring-security/pom.xml
index 0077f5a7a73..290647816f5 100644
--- a/components/camel-spring-security/pom.xml
+++ b/components/camel-spring-security/pom.xml
@@ -97,11 +97,6 @@
             <artifactId>junit-jupiter</artifactId>
             <scope>test</scope>
         </dependency>
-        <dependency>
-            <groupId>org.apache.logging.log4j</groupId>
-            <artifactId>log4j-slf4j2-impl</artifactId>
-            <scope>test</scope>
-        </dependency>
 
     </dependencies>
 
diff --git a/components/camel-spring-ws/pom.xml b/components/camel-spring-ws/pom.xml
index a53e5ecbb7d..5fe8ce06070 100644
--- a/components/camel-spring-ws/pom.xml
+++ b/components/camel-spring-ws/pom.xml
@@ -148,11 +148,6 @@
             <artifactId>junit-jupiter</artifactId>
             <scope>test</scope>
         </dependency>
-        <dependency>
-            <groupId>org.apache.logging.log4j</groupId>
-            <artifactId>log4j-slf4j2-impl</artifactId>
-            <scope>test</scope>
-        </dependency>
         <dependency>
             <groupId>net.javacrumbs</groupId>
             <artifactId>spring-ws-test</artifactId>
diff --git a/components/camel-spring-xml/pom.xml b/components/camel-spring-xml/pom.xml
index d7a287639ae..34eb1c3b405 100644
--- a/components/camel-spring-xml/pom.xml
+++ b/components/camel-spring-xml/pom.xml
@@ -144,13 +144,6 @@
             <artifactId>jakarta.annotation-api</artifactId>
         </dependency>
 
-        <!-- logging for testing -->
-        <dependency>
-            <groupId>org.apache.logging.log4j</groupId>
-            <artifactId>log4j-slf4j2-impl</artifactId>
-            <scope>test</scope>
-        </dependency>
-
         <!-- assertj and woostox are used for a few tests -->
         <dependency>
             <groupId>org.assertj</groupId>
diff --git a/components/camel-sql/pom.xml b/components/camel-sql/pom.xml
index dca827f16b0..71fe48dc2cd 100644
--- a/components/camel-sql/pom.xml
+++ b/components/camel-sql/pom.xml
@@ -67,11 +67,6 @@
             <artifactId>hamcrest</artifactId>
             <scope>test</scope>
         </dependency>
-        <dependency>
-            <groupId>org.apache.logging.log4j</groupId>
-            <artifactId>log4j-slf4j2-impl</artifactId>
-            <scope>test</scope>
-        </dependency>
         <dependency>
             <groupId>org.awaitility</groupId>
             <artifactId>awaitility</artifactId>
diff --git a/components/camel-ssh/pom.xml b/components/camel-ssh/pom.xml
index da34dbdf2b6..e5cefab1f1d 100644
--- a/components/camel-ssh/pom.xml
+++ b/components/camel-ssh/pom.xml
@@ -68,11 +68,6 @@
             <artifactId>camel-test-junit5</artifactId>
             <scope>test</scope>
         </dependency>
-        <dependency>
-            <groupId>org.apache.logging.log4j</groupId>
-            <artifactId>log4j-slf4j2-impl</artifactId>
-            <scope>test</scope>
-        </dependency>
     </dependencies>
 
 </project>
diff --git a/components/camel-stax/pom.xml b/components/camel-stax/pom.xml
index b7b9c363d51..bdb66c21e6c 100644
--- a/components/camel-stax/pom.xml
+++ b/components/camel-stax/pom.xml
@@ -73,11 +73,6 @@
             <artifactId>camel-jaxb</artifactId>
             <scope>test</scope>
         </dependency>
-        <dependency>
-            <groupId>org.apache.logging.log4j</groupId>
-            <artifactId>log4j-slf4j2-impl</artifactId>
-            <scope>test</scope>
-        </dependency>
 
     </dependencies>
 
diff --git a/components/camel-stitch/pom.xml b/components/camel-stitch/pom.xml
index 1ccae27e86e..7a38359ae90 100644
--- a/components/camel-stitch/pom.xml
+++ b/components/camel-stitch/pom.xml
@@ -59,11 +59,6 @@
             <artifactId>camel-test-junit5</artifactId>
             <scope>test</scope>
         </dependency>
-        <dependency>
-            <groupId>org.apache.logging.log4j</groupId>
-            <artifactId>log4j-slf4j2-impl</artifactId>
-            <scope>test</scope>
-        </dependency>
         <dependency>
             <groupId>org.mockito</groupId>
             <artifactId>mockito-core</artifactId>
diff --git a/components/camel-stomp/pom.xml b/components/camel-stomp/pom.xml
index bc10cdfcf7a..8253b6da4b8 100644
--- a/components/camel-stomp/pom.xml
+++ b/components/camel-stomp/pom.xml
@@ -71,11 +71,6 @@
             <artifactId>junit-jupiter</artifactId>
             <scope>test</scope>
         </dependency>
-        <dependency>
-            <groupId>org.apache.logging.log4j</groupId>
-            <artifactId>log4j-slf4j2-impl</artifactId>
-            <scope>test</scope>
-        </dependency>
     </dependencies>
 
 </project>
diff --git a/components/camel-stream/pom.xml b/components/camel-stream/pom.xml
index ec250bdd237..f0944cd1b37 100644
--- a/components/camel-stream/pom.xml
+++ b/components/camel-stream/pom.xml
@@ -48,11 +48,6 @@
             <artifactId>camel-test-junit5</artifactId>
             <scope>test</scope>
         </dependency>
-        <dependency>
-            <groupId>org.apache.logging.log4j</groupId>
-            <artifactId>log4j-slf4j2-impl</artifactId>
-            <scope>test</scope>
-        </dependency>
         <dependency>
             <groupId>org.junit.jupiter</groupId>
             <artifactId>junit-jupiter</artifactId>
diff --git a/components/camel-stringtemplate/pom.xml b/components/camel-stringtemplate/pom.xml
index 93608589623..0e8f76a7269 100644
--- a/components/camel-stringtemplate/pom.xml
+++ b/components/camel-stringtemplate/pom.xml
@@ -58,11 +58,6 @@
             <artifactId>camel-management</artifactId>
             <scope>test</scope>
         </dependency>
-        <dependency>
-            <groupId>org.apache.logging.log4j</groupId>
-            <artifactId>log4j-slf4j2-impl</artifactId>
-            <scope>test</scope>
-        </dependency>
         <dependency>
             <groupId>org.junit.jupiter</groupId>
             <artifactId>junit-jupiter</artifactId>
diff --git a/components/camel-syslog/pom.xml b/components/camel-syslog/pom.xml
index 4526301525c..d627bbe3121 100644
--- a/components/camel-syslog/pom.xml
+++ b/components/camel-syslog/pom.xml
@@ -61,11 +61,6 @@
             <artifactId>junit-jupiter</artifactId>
             <scope>test</scope>
         </dependency>
-        <dependency>
-            <groupId>org.apache.logging.log4j</groupId>
-            <artifactId>log4j-slf4j2-impl</artifactId>
-            <scope>test</scope>
-        </dependency>
         <dependency>
             <groupId>org.springframework</groupId>
             <artifactId>spring-test</artifactId>
diff --git a/components/camel-tarfile/pom.xml b/components/camel-tarfile/pom.xml
index af16d61a73e..0dbba61d3ee 100644
--- a/components/camel-tarfile/pom.xml
+++ b/components/camel-tarfile/pom.xml
@@ -66,10 +66,5 @@
             <artifactId>log4j-core</artifactId>
             <scope>test</scope>
         </dependency>
-        <dependency>
-            <groupId>org.apache.logging.log4j</groupId>
-            <artifactId>log4j-slf4j2-impl</artifactId>
-            <scope>test</scope>
-        </dependency>
     </dependencies>
 </project>
diff --git a/components/camel-telegram/pom.xml b/components/camel-telegram/pom.xml
index f5c43b579b2..dcb49bc9565 100644
--- a/components/camel-telegram/pom.xml
+++ b/components/camel-telegram/pom.xml
@@ -90,11 +90,6 @@
             <artifactId>assertj-core</artifactId>
             <scope>test</scope>
         </dependency>
-        <dependency>
-            <groupId>org.apache.logging.log4j</groupId>
-            <artifactId>log4j-slf4j2-impl</artifactId>
-            <scope>test</scope>
-        </dependency>
         <!-- For testing the webhook -->
         <dependency>
             <groupId>org.apache.camel</groupId>
diff --git a/components/camel-threadpoolfactory-vertx/pom.xml b/components/camel-threadpoolfactory-vertx/pom.xml
index 199ca74b54e..fb3b4ddbcae 100644
--- a/components/camel-threadpoolfactory-vertx/pom.xml
+++ b/components/camel-threadpoolfactory-vertx/pom.xml
@@ -62,11 +62,6 @@
             <artifactId>camel-mock</artifactId>
             <scope>test</scope>
         </dependency>
-        <dependency>
-            <groupId>org.apache.logging.log4j</groupId>
-            <artifactId>log4j-slf4j2-impl</artifactId>
-            <scope>test</scope>
-        </dependency>
         <dependency>
             <groupId>org.junit.jupiter</groupId>
             <artifactId>junit-jupiter</artifactId>
diff --git a/components/camel-thrift/pom.xml b/components/camel-thrift/pom.xml
index 1d90e17ca6e..99874c1e3bc 100644
--- a/components/camel-thrift/pom.xml
+++ b/components/camel-thrift/pom.xml
@@ -69,11 +69,6 @@
             <artifactId>junit-jupiter</artifactId>
             <scope>test</scope>
         </dependency>
-        <dependency>
-            <groupId>org.apache.logging.log4j</groupId>
-            <artifactId>log4j-slf4j2-impl</artifactId>
-            <scope>test</scope>
-        </dependency>
         <dependency>
             <groupId>com.google.code.gson</groupId>
             <artifactId>gson</artifactId>
diff --git a/components/camel-tika/pom.xml b/components/camel-tika/pom.xml
index 624f85f49e9..916a79dc29c 100644
--- a/components/camel-tika/pom.xml
+++ b/components/camel-tika/pom.xml
@@ -63,11 +63,6 @@
             <artifactId>camel-test-spring-junit5</artifactId>
             <scope>test</scope>
         </dependency>
-        <dependency>
-            <groupId>org.apache.logging.log4j</groupId>
-            <artifactId>log4j-slf4j2-impl</artifactId>
-            <scope>test</scope>
-        </dependency>
         <dependency>
             <groupId>org.junit.jupiter</groupId>
             <artifactId>junit-jupiter</artifactId>
diff --git a/components/camel-tracing/pom.xml b/components/camel-tracing/pom.xml
index be26954230a..a1b99bf5dc0 100644
--- a/components/camel-tracing/pom.xml
+++ b/components/camel-tracing/pom.xml
@@ -49,11 +49,6 @@
       <artifactId>camel-test-spring-junit5</artifactId>
       <scope>test</scope>
     </dependency>
-    <dependency>
-      <groupId>org.apache.logging.log4j</groupId>
-      <artifactId>log4j-slf4j2-impl</artifactId>
-      <scope>test</scope>
-    </dependency>
     <dependency>
       <groupId>org.mockito</groupId>
       <artifactId>mockito-core</artifactId>
diff --git a/components/camel-twilio/pom.xml b/components/camel-twilio/pom.xml
index 735a66283a0..f0ee147d25b 100644
--- a/components/camel-twilio/pom.xml
+++ b/components/camel-twilio/pom.xml
@@ -63,13 +63,6 @@
             <optional>true</optional>
         </dependency>
 
-        <!-- logging -->
-        <dependency>
-            <groupId>org.apache.logging.log4j</groupId>
-            <artifactId>log4j-slf4j2-impl</artifactId>
-            <scope>test</scope>
-        </dependency>
-
         <!-- testing -->
         <dependency>
             <groupId>org.apache.camel</groupId>
diff --git a/components/camel-twitter/pom.xml b/components/camel-twitter/pom.xml
index af12e4e8ee0..cf35537a805 100644
--- a/components/camel-twitter/pom.xml
+++ b/components/camel-twitter/pom.xml
@@ -62,11 +62,6 @@
             <artifactId>junit-jupiter</artifactId>
             <scope>test</scope>
         </dependency>
-        <dependency>
-            <groupId>org.apache.logging.log4j</groupId>
-            <artifactId>log4j-slf4j2-impl</artifactId>
-            <scope>test</scope>
-        </dependency>
         <dependency>
             <groupId>org.hamcrest</groupId>
             <artifactId>hamcrest</artifactId>
diff --git a/components/camel-undertow/pom.xml b/components/camel-undertow/pom.xml
index 8432b0bd6e3..4e8c6f6e139 100644
--- a/components/camel-undertow/pom.xml
+++ b/components/camel-undertow/pom.xml
@@ -137,11 +137,6 @@
             <artifactId>junit-jupiter</artifactId>
             <scope>test</scope>
         </dependency>
-        <dependency>
-            <groupId>org.apache.logging.log4j</groupId>
-            <artifactId>log4j-slf4j2-impl</artifactId>
-            <scope>test</scope>
-        </dependency>
         <dependency>
             <groupId>org.apache.httpcomponents</groupId>
             <artifactId>httpmime</artifactId>
diff --git a/components/camel-univocity-parsers/pom.xml b/components/camel-univocity-parsers/pom.xml
index b9912fd2644..0929dc0372a 100644
--- a/components/camel-univocity-parsers/pom.xml
+++ b/components/camel-univocity-parsers/pom.xml
@@ -62,10 +62,5 @@
             <artifactId>camel-test-spring-junit5</artifactId>
             <scope>test</scope>
         </dependency>
-        <dependency>
-            <groupId>org.apache.logging.log4j</groupId>
-            <artifactId>log4j-slf4j2-impl</artifactId>
-            <scope>test</scope>
-        </dependency>
     </dependencies>
 </project>
diff --git a/components/camel-velocity/pom.xml b/components/camel-velocity/pom.xml
index ae9e95e8932..b5c518d584d 100644
--- a/components/camel-velocity/pom.xml
+++ b/components/camel-velocity/pom.xml
@@ -55,11 +55,6 @@
             <artifactId>camel-management</artifactId>
             <scope>test</scope>
         </dependency>
-        <dependency>
-            <groupId>org.apache.logging.log4j</groupId>
-            <artifactId>log4j-slf4j2-impl</artifactId>
-            <scope>test</scope>
-        </dependency>
         <dependency>
             <groupId>org.junit.jupiter</groupId>
             <artifactId>junit-jupiter</artifactId>
diff --git a/components/camel-wal/pom.xml b/components/camel-wal/pom.xml
index 480cbed5051..ce8fed538d2 100644
--- a/components/camel-wal/pom.xml
+++ b/components/camel-wal/pom.xml
@@ -54,17 +54,6 @@
             <artifactId>junit-jupiter-params</artifactId>
             <scope>test</scope>
         </dependency>
-
-        <dependency>
-            <groupId>org.apache.logging.log4j</groupId>
-            <artifactId>log4j-slf4j2-impl</artifactId>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.logging.log4j</groupId>
-            <artifactId>log4j-1.2-api</artifactId>
-            <scope>test</scope>
-        </dependency>
     </dependencies>
 
 </project>
diff --git a/components/camel-weather/pom.xml b/components/camel-weather/pom.xml
index 776e2c5697e..a4c45c2a6cc 100644
--- a/components/camel-weather/pom.xml
+++ b/components/camel-weather/pom.xml
@@ -69,11 +69,6 @@
             <artifactId>hamcrest</artifactId>
             <scope>test</scope>
         </dependency>
-        <dependency>
-            <groupId>org.apache.logging.log4j</groupId>
-            <artifactId>log4j-slf4j2-impl</artifactId>
-            <scope>test</scope>
-        </dependency>
         <dependency>
             <groupId>org.mockito</groupId>
             <artifactId>mockito-junit-jupiter</artifactId>
diff --git a/components/camel-web3j/pom.xml b/components/camel-web3j/pom.xml
index 275b54584f7..767809275be 100644
--- a/components/camel-web3j/pom.xml
+++ b/components/camel-web3j/pom.xml
@@ -70,11 +70,6 @@
             <artifactId>junit-jupiter</artifactId>
             <scope>test</scope>
         </dependency>
-        <dependency>
-            <groupId>org.apache.logging.log4j</groupId>
-            <artifactId>log4j-slf4j2-impl</artifactId>
-            <scope>test</scope>
-        </dependency>
         <dependency>
             <groupId>org.mockito</groupId>
             <artifactId>mockito-core</artifactId>
diff --git a/components/camel-webhook/pom.xml b/components/camel-webhook/pom.xml
index 70f39a0a699..04b61c50c62 100644
--- a/components/camel-webhook/pom.xml
+++ b/components/camel-webhook/pom.xml
@@ -48,11 +48,6 @@
             <artifactId>awaitility</artifactId>
             <scope>test</scope>
         </dependency>
-        <dependency>
-            <groupId>org.apache.logging.log4j</groupId>
-            <artifactId>log4j-slf4j2-impl</artifactId>
-            <scope>test</scope>
-        </dependency>
         <dependency>
             <groupId>org.apache.camel</groupId>
             <artifactId>camel-netty-http</artifactId>
diff --git a/components/camel-websocket/pom.xml b/components/camel-websocket/pom.xml
index 17edb8c4930..8984921e4d8 100644
--- a/components/camel-websocket/pom.xml
+++ b/components/camel-websocket/pom.xml
@@ -104,11 +104,6 @@
             <artifactId>mockito-junit-jupiter</artifactId>
             <scope>test</scope>
         </dependency>
-        <dependency>
-            <groupId>org.apache.logging.log4j</groupId>
-            <artifactId>log4j-slf4j2-impl</artifactId>
-            <scope>test</scope>
-        </dependency>
     </dependencies>
 
     <build>
diff --git a/components/camel-weka/pom.xml b/components/camel-weka/pom.xml
index 7a84e4a18b7..7586af4baa7 100644
--- a/components/camel-weka/pom.xml
+++ b/components/camel-weka/pom.xml
@@ -60,11 +60,6 @@
             <artifactId>junit-jupiter</artifactId>
             <scope>test</scope>
         </dependency>
-        <dependency>
-            <groupId>org.apache.logging.log4j</groupId>
-            <artifactId>log4j-slf4j2-impl</artifactId>
-            <scope>test</scope>
-        </dependency>
     </dependencies>
     
     <build>
diff --git a/components/camel-whatsapp/pom.xml b/components/camel-whatsapp/pom.xml
index b2eca1a0e6a..9c965ca2be3 100644
--- a/components/camel-whatsapp/pom.xml
+++ b/components/camel-whatsapp/pom.xml
@@ -79,11 +79,6 @@
             <artifactId>assertj-core</artifactId>
             <scope>test</scope>
         </dependency>
-        <dependency>
-            <groupId>org.apache.logging.log4j</groupId>
-            <artifactId>log4j-slf4j2-impl</artifactId>
-            <scope>test</scope>
-        </dependency>
         <!-- For testing the webhook -->
         <dependency>
             <groupId>org.apache.camel</groupId>
diff --git a/components/camel-wordpress/pom.xml b/components/camel-wordpress/pom.xml
index 5f6f9fd5e55..227a7b2223d 100644
--- a/components/camel-wordpress/pom.xml
+++ b/components/camel-wordpress/pom.xml
@@ -42,13 +42,6 @@
             <artifactId>camel-support</artifactId>
         </dependency>
 
-        <!-- logging -->
-        <dependency>
-            <groupId>org.apache.logging.log4j</groupId>
-            <artifactId>log4j-slf4j2-impl</artifactId>
-            <scope>test</scope>
-        </dependency>
-
         <!-- testing -->
         <dependency>
             <groupId>org.apache.camel</groupId>
diff --git a/components/camel-workday/pom.xml b/components/camel-workday/pom.xml
index a37ab6c652e..1e0cbe9cb90 100644
--- a/components/camel-workday/pom.xml
+++ b/components/camel-workday/pom.xml
@@ -46,13 +46,6 @@
       <groupId>org.apache.camel</groupId>
       <artifactId>camel-support</artifactId>
     </dependency>
-    
-    <!-- logging -->
-    <dependency>
-      <groupId>org.apache.logging.log4j</groupId>
-      <artifactId>log4j-slf4j2-impl</artifactId>
-      <scope>test</scope>
-    </dependency>
 
     <!-- testing -->
     <dependency>
diff --git a/components/camel-xchange/pom.xml b/components/camel-xchange/pom.xml
index 48300380296..a912ff9fdb9 100644
--- a/components/camel-xchange/pom.xml
+++ b/components/camel-xchange/pom.xml
@@ -72,11 +72,6 @@
             <artifactId>camel-test-junit5</artifactId>
             <scope>test</scope>
         </dependency>
-        <dependency>
-            <groupId>org.apache.logging.log4j</groupId>
-            <artifactId>log4j-slf4j2-impl</artifactId>
-            <scope>test</scope>
-        </dependency>
 
         <dependency>
             <groupId>com.github.tomakehurst</groupId>
diff --git a/components/camel-xj/pom.xml b/components/camel-xj/pom.xml
index 1f00335b523..56b6f01f651 100644
--- a/components/camel-xj/pom.xml
+++ b/components/camel-xj/pom.xml
@@ -64,10 +64,5 @@
             <version>${xmlunit-version}</version>
             <scope>test</scope>
         </dependency>
-        <dependency>
-            <groupId>org.apache.logging.log4j</groupId>
-            <artifactId>log4j-slf4j2-impl</artifactId>
-            <scope>test</scope>
-        </dependency>
     </dependencies>
 </project>
diff --git a/components/camel-xmlsecurity/pom.xml b/components/camel-xmlsecurity/pom.xml
index d4875ecb940..82aff381e92 100644
--- a/components/camel-xmlsecurity/pom.xml
+++ b/components/camel-xmlsecurity/pom.xml
@@ -74,11 +74,6 @@
             <artifactId>camel-test-junit5</artifactId>
             <scope>test</scope>
         </dependency>
-        <dependency>
-            <groupId>org.apache.logging.log4j</groupId>
-            <artifactId>log4j-slf4j2-impl</artifactId>
-            <scope>test</scope>
-        </dependency>
         <dependency>
             <groupId>org.junit.jupiter</groupId>
             <artifactId>junit-jupiter</artifactId>
diff --git a/components/camel-xmpp/pom.xml b/components/camel-xmpp/pom.xml
index 1659b19fc06..2be4dd26f5c 100644
--- a/components/camel-xmpp/pom.xml
+++ b/components/camel-xmpp/pom.xml
@@ -77,11 +77,6 @@
             <artifactId>camel-test-junit5</artifactId>
             <scope>test</scope>
         </dependency>
-        <dependency>
-            <groupId>org.apache.logging.log4j</groupId>
-            <artifactId>log4j-slf4j2-impl</artifactId>
-            <scope>test</scope>
-        </dependency>
 
         <!-- test infra -->
         <dependency>
diff --git a/components/camel-xslt-saxon/pom.xml b/components/camel-xslt-saxon/pom.xml
index e2414a14f1e..5a7e7c36e9c 100644
--- a/components/camel-xslt-saxon/pom.xml
+++ b/components/camel-xslt-saxon/pom.xml
@@ -52,11 +52,6 @@
             <artifactId>camel-test-spring-junit5</artifactId>
             <scope>test</scope>
         </dependency>
-        <dependency>
-            <groupId>org.apache.logging.log4j</groupId>
-            <artifactId>log4j-slf4j2-impl</artifactId>
-            <scope>test</scope>
-        </dependency>
 
     </dependencies>
 </project>
diff --git a/components/camel-zendesk/pom.xml b/components/camel-zendesk/pom.xml
index a769b62535d..35c79fd4ced 100644
--- a/components/camel-zendesk/pom.xml
+++ b/components/camel-zendesk/pom.xml
@@ -57,13 +57,6 @@
             <artifactId>camel-test-junit5</artifactId>
             <scope>test</scope>
         </dependency>
-
-        <!-- logging -->
-        <dependency>
-            <groupId>org.apache.logging.log4j</groupId>
-            <artifactId>log4j-slf4j2-impl</artifactId>
-            <scope>test</scope>
-        </dependency>
     </dependencies>
 
     <build>
diff --git a/components/camel-zip-deflater/pom.xml b/components/camel-zip-deflater/pom.xml
index a2d42080f74..ca2853c0161 100644
--- a/components/camel-zip-deflater/pom.xml
+++ b/components/camel-zip-deflater/pom.xml
@@ -57,11 +57,6 @@
             <artifactId>junit-jupiter</artifactId>
             <scope>test</scope>
         </dependency>
-        <dependency>
-            <groupId>org.apache.logging.log4j</groupId>
-            <artifactId>log4j-slf4j2-impl</artifactId>
-            <scope>test</scope>
-        </dependency>
         
     </dependencies>
 </project>
diff --git a/components/camel-zipfile/pom.xml b/components/camel-zipfile/pom.xml
index 168cf30e5f5..013c46551b3 100644
--- a/components/camel-zipfile/pom.xml
+++ b/components/camel-zipfile/pom.xml
@@ -60,11 +60,6 @@
             <artifactId>camel-test-spring-junit5</artifactId>
             <scope>test</scope>
         </dependency>
-        <dependency>
-            <groupId>org.apache.logging.log4j</groupId>
-            <artifactId>log4j-slf4j2-impl</artifactId>
-            <scope>test</scope>
-        </dependency>
         <dependency>
             <groupId>org.awaitility</groupId>
             <artifactId>awaitility</artifactId>
diff --git a/components/camel-zookeeper-master/pom.xml b/components/camel-zookeeper-master/pom.xml
index 9b701b6a388..7886573ff02 100644
--- a/components/camel-zookeeper-master/pom.xml
+++ b/components/camel-zookeeper-master/pom.xml
@@ -117,12 +117,6 @@
             <scope>test</scope>
         </dependency>
 
-        <dependency>
-            <groupId>org.apache.logging.log4j</groupId>
-            <artifactId>log4j-slf4j2-impl</artifactId>
-            <scope>test</scope>
-        </dependency>
-
         <!-- test infra -->
         <dependency>
             <groupId>org.apache.camel</groupId>
diff --git a/components/camel-zookeeper/pom.xml b/components/camel-zookeeper/pom.xml
index 1e264b14553..74e036475d1 100644
--- a/components/camel-zookeeper/pom.xml
+++ b/components/camel-zookeeper/pom.xml
@@ -173,11 +173,6 @@
             <artifactId>camel-service</artifactId>
             <scope>test</scope>
         </dependency>
-        <dependency>
-            <groupId>org.apache.logging.log4j</groupId>
-            <artifactId>log4j-slf4j2-impl</artifactId>
-            <scope>test</scope>
-        </dependency>
         <dependency>
             <groupId>org.awaitility</groupId>
             <artifactId>awaitility</artifactId>