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/16 17:47:42 UTC
[camel] 09/14: 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 log4j2
in repository https://gitbox.apache.org/repos/asf/camel.git
commit 6972acf64c4fd76672bf09f2984bd2541879b627
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Jan 16 18:18:40 2023 +0100
CAMEL-18936 - components - Add log4j-core so logging to logfile works
Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
components/camel-dynamic-router/pom.xml | 5 -----
components/camel-ehcache/pom.xml | 5 -----
components/camel-elasticsearch/pom.xml | 6 ------
components/camel-elytron/pom.xml | 5 -----
components/camel-etcd3/pom.xml | 7 -------
components/camel-exec/pom.xml | 5 -----
components/camel-facebook/pom.xml | 5 -----
components/camel-fastjson/pom.xml | 5 -----
components/camel-file-watch/pom.xml | 7 +------
components/camel-flatpack/pom.xml | 7 -------
components/camel-flink/pom.xml | 5 -----
components/camel-fop/pom.xml | 5 -----
components/camel-freemarker/pom.xml | 5 -----
components/camel-ftp/pom.xml | 5 -----
components/camel-geocoder/pom.xml | 5 -----
components/camel-git/pom.xml | 6 ------
components/camel-github/pom.xml | 6 ------
components/camel-grape/pom.xml | 5 -----
components/camel-graphql/pom.xml | 5 -----
components/camel-grok/pom.xml | 5 -----
components/camel-groovy/pom.xml | 5 -----
components/camel-grpc/pom.xml | 12 ------------
components/camel-gson/pom.xml | 5 -----
components/camel-guava-eventbus/pom.xml | 5 -----
components/camel-hashicorp-vault/pom.xml | 5 -----
components/camel-hazelcast/pom.xml | 5 -----
components/camel-hdfs/pom.xml | 5 -----
components/camel-headersmap/pom.xml | 5 -----
components/camel-hl7/pom.xml | 5 -----
components/camel-http-base/pom.xml | 5 -----
components/camel-http-common/pom.xml | 5 -----
components/camel-http/pom.xml | 5 -----
32 files changed, 1 insertion(+), 175 deletions(-)
diff --git a/components/camel-dynamic-router/pom.xml b/components/camel-dynamic-router/pom.xml
index 4353943c7ed..bc8482108b0 100644
--- a/components/camel-dynamic-router/pom.xml
+++ b/components/camel-dynamic-router/pom.xml
@@ -67,10 +67,5 @@
<artifactId>camel-mock</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-ehcache/pom.xml b/components/camel-ehcache/pom.xml
index 4a66c853db0..362c0b45788 100644
--- a/components/camel-ehcache/pom.xml
+++ b/components/camel-ehcache/pom.xml
@@ -70,11 +70,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.hamcrest</groupId>
<artifactId>hamcrest</artifactId>
diff --git a/components/camel-elasticsearch/pom.xml b/components/camel-elasticsearch/pom.xml
index 5104117a0de..7d59d787056 100644
--- a/components/camel-elasticsearch/pom.xml
+++ b/components/camel-elasticsearch/pom.xml
@@ -82,12 +82,6 @@
<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-elytron/pom.xml b/components/camel-elytron/pom.xml
index 6b1c501f109..24c875551f0 100644
--- a/components/camel-elytron/pom.xml
+++ b/components/camel-elytron/pom.xml
@@ -105,11 +105,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-etcd3/pom.xml b/components/camel-etcd3/pom.xml
index 6dc2b23e92f..7bdc643991c 100644
--- a/components/camel-etcd3/pom.xml
+++ b/components/camel-etcd3/pom.xml
@@ -83,13 +83,6 @@
<version>${jetcd-guava-version}</version>
</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-exec/pom.xml b/components/camel-exec/pom.xml
index 6ef7435528a..15b5e533738 100644
--- a/components/camel-exec/pom.xml
+++ b/components/camel-exec/pom.xml
@@ -66,10 +66,5 @@
<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-facebook/pom.xml b/components/camel-facebook/pom.xml
index 42c73b98142..e9f9da65b30 100644
--- a/components/camel-facebook/pom.xml
+++ b/components/camel-facebook/pom.xml
@@ -56,11 +56,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-fastjson/pom.xml b/components/camel-fastjson/pom.xml
index 85e1a65a48a..3f6662fbf2a 100644
--- a/components/camel-fastjson/pom.xml
+++ b/components/camel-fastjson/pom.xml
@@ -51,11 +51,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-file-watch/pom.xml b/components/camel-file-watch/pom.xml
index b7b113e9cde..13497a2b0d1 100644
--- a/components/camel-file-watch/pom.xml
+++ b/components/camel-file-watch/pom.xml
@@ -48,10 +48,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>
\ No newline at end of file
+</project>
diff --git a/components/camel-flatpack/pom.xml b/components/camel-flatpack/pom.xml
index febc1e71203..22cc0707d4a 100644
--- a/components/camel-flatpack/pom.xml
+++ b/components/camel-flatpack/pom.xml
@@ -47,13 +47,6 @@
<version>${flatpack-version}</version>
</dependency>
- <!-- logging -->
- <dependency>
- <groupId>org.apache.logging.log4j</groupId>
- <artifactId>log4j-slf4j2-impl</artifactId>
- <scope>test</scope>
- </dependency>
-
<!-- testing -->
<dependency>
<groupId>org.junit.jupiter</groupId>
diff --git a/components/camel-flink/pom.xml b/components/camel-flink/pom.xml
index 86ffb5a907f..5086208215b 100644
--- a/components/camel-flink/pom.xml
+++ b/components/camel-flink/pom.xml
@@ -107,11 +107,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>
</dependencies>
<profiles>
diff --git a/components/camel-fop/pom.xml b/components/camel-fop/pom.xml
index d830cc9cd73..f2c76f34c21 100644
--- a/components/camel-fop/pom.xml
+++ b/components/camel-fop/pom.xml
@@ -81,10 +81,5 @@
<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-freemarker/pom.xml b/components/camel-freemarker/pom.xml
index 246c240f51b..09b7e2d2eee 100644
--- a/components/camel-freemarker/pom.xml
+++ b/components/camel-freemarker/pom.xml
@@ -68,11 +68,6 @@
<artifactId>log4j-core</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-ftp/pom.xml b/components/camel-ftp/pom.xml
index 305572dae7f..58793eb8eb8 100644
--- a/components/camel-ftp/pom.xml
+++ b/components/camel-ftp/pom.xml
@@ -84,11 +84,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-geocoder/pom.xml b/components/camel-geocoder/pom.xml
index 2d328753b1b..acad11d60de 100644
--- a/components/camel-geocoder/pom.xml
+++ b/components/camel-geocoder/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-git/pom.xml b/components/camel-git/pom.xml
index 555ccb6da14..8a668218372 100644
--- a/components/camel-git/pom.xml
+++ b/components/camel-git/pom.xml
@@ -52,11 +52,5 @@
<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-github/pom.xml b/components/camel-github/pom.xml
index 2056eedf17b..75e62822740 100644
--- a/components/camel-github/pom.xml
+++ b/components/camel-github/pom.xml
@@ -56,11 +56,5 @@
<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-grape/pom.xml b/components/camel-grape/pom.xml
index 2b5c3b0f88b..58fed8b7634 100644
--- a/components/camel-grape/pom.xml
+++ b/components/camel-grape/pom.xml
@@ -68,10 +68,5 @@
<artifactId>camel-stream</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-graphql/pom.xml b/components/camel-graphql/pom.xml
index 3769bf93a83..de914014a41 100644
--- a/components/camel-graphql/pom.xml
+++ b/components/camel-graphql/pom.xml
@@ -64,10 +64,5 @@
<artifactId>jackson-databind</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-grok/pom.xml b/components/camel-grok/pom.xml
index b3a5d08c8fe..253a2c5f4dd 100644
--- a/components/camel-grok/pom.xml
+++ b/components/camel-grok/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.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
diff --git a/components/camel-groovy/pom.xml b/components/camel-groovy/pom.xml
index 3a6ae929849..b05c213f51d 100644
--- a/components/camel-groovy/pom.xml
+++ b/components/camel-groovy/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>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
diff --git a/components/camel-grpc/pom.xml b/components/camel-grpc/pom.xml
index a16da46bce0..c0fa6ba50b4 100644
--- a/components/camel-grpc/pom.xml
+++ b/components/camel-grpc/pom.xml
@@ -150,18 +150,6 @@
<scope>test</scope>
</dependency>
- <!-- logging -->
- <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>
-
<!-- needed for testing -->
<dependency>
<groupId>com.google.code.findbugs</groupId>
diff --git a/components/camel-gson/pom.xml b/components/camel-gson/pom.xml
index 01753caca9b..3510f8a79a1 100644
--- a/components/camel-gson/pom.xml
+++ b/components/camel-gson/pom.xml
@@ -57,11 +57,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>
</project>
diff --git a/components/camel-guava-eventbus/pom.xml b/components/camel-guava-eventbus/pom.xml
index fa611d17e45..5ed89cd7e8a 100644
--- a/components/camel-guava-eventbus/pom.xml
+++ b/components/camel-guava-eventbus/pom.xml
@@ -51,10 +51,5 @@
<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-hashicorp-vault/pom.xml b/components/camel-hashicorp-vault/pom.xml
index 2bd5fbe6d24..98263a2dd71 100644
--- a/components/camel-hashicorp-vault/pom.xml
+++ b/components/camel-hashicorp-vault/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-hazelcast/pom.xml b/components/camel-hazelcast/pom.xml
index a5f9c4d3598..5537d5baa46 100644
--- a/components/camel-hazelcast/pom.xml
+++ b/components/camel-hazelcast/pom.xml
@@ -51,11 +51,6 @@
<artifactId>log4j-jul</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-hdfs/pom.xml b/components/camel-hdfs/pom.xml
index 1440e8041ac..0e403e0328a 100644
--- a/components/camel-hdfs/pom.xml
+++ b/components/camel-hdfs/pom.xml
@@ -125,11 +125,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.lz4</groupId>
<artifactId>lz4-java</artifactId>
diff --git a/components/camel-headersmap/pom.xml b/components/camel-headersmap/pom.xml
index 55843176cc8..5e55f49eb3a 100644
--- a/components/camel-headersmap/pom.xml
+++ b/components/camel-headersmap/pom.xml
@@ -66,11 +66,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-hl7/pom.xml b/components/camel-hl7/pom.xml
index 407fb35fcbf..f4f2eb60740 100644
--- a/components/camel-hl7/pom.xml
+++ b/components/camel-hl7/pom.xml
@@ -124,11 +124,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.camel</groupId>
<artifactId>camel-core</artifactId>
diff --git a/components/camel-http-base/pom.xml b/components/camel-http-base/pom.xml
index 7d508c9f68f..03beae1c715 100644
--- a/components/camel-http-base/pom.xml
+++ b/components/camel-http-base/pom.xml
@@ -55,11 +55,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-http-common/pom.xml b/components/camel-http-common/pom.xml
index 6348d3884c2..2dcfe88cb54 100644
--- a/components/camel-http-common/pom.xml
+++ b/components/camel-http-common/pom.xml
@@ -74,10 +74,5 @@
<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-http/pom.xml b/components/camel-http/pom.xml
index a841e73b17f..234eae4f64d 100644
--- a/components/camel-http/pom.xml
+++ b/components/camel-http/pom.xml
@@ -86,11 +86,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>httpclient</artifactId>