You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2023/01/16 16:00:14 UTC
[camel] 04/06: CAMEL-18932: Upgrade to slf4j v2 and adjust log4j2
This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch log4j2
in repository https://gitbox.apache.org/repos/asf/camel.git
commit 0d073d8bc61aedda18809f084636ad2601fe2f2a
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Mon Jan 16 16:27:46 2023 +0100
CAMEL-18932: Upgrade to slf4j v2 and adjust log4j2
---
core/camel-cloud/pom.xml | 5 +++++
core/camel-console/pom.xml | 5 +++++
core/camel-core-xml/pom.xml | 5 +++++
core/camel-main/pom.xml | 5 +++++
core/camel-management/pom.xml | 5 +++++
core/camel-support/pom.xml | 5 +++++
core/camel-util/pom.xml | 5 +++++
core/camel-xml-jaxp/pom.xml | 5 +++++
8 files changed, 40 insertions(+)
diff --git a/core/camel-cloud/pom.xml b/core/camel-cloud/pom.xml
index 9f05795449e..0adbdaa093b 100644
--- a/core/camel-cloud/pom.xml
+++ b/core/camel-cloud/pom.xml
@@ -68,6 +68,11 @@
</dependency>
<!-- logging -->
+ <dependency>
+ <groupId>org.apache.logging.log4j</groupId>
+ <artifactId>log4j-core</artifactId>
+ <scope>test</scope>
+ </dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-slf4j2-impl</artifactId>
diff --git a/core/camel-console/pom.xml b/core/camel-console/pom.xml
index c9538c17cd2..da0c6e1c4d4 100644
--- a/core/camel-console/pom.xml
+++ b/core/camel-console/pom.xml
@@ -74,6 +74,11 @@
</dependency>
<!-- logging -->
+ <dependency>
+ <groupId>org.apache.logging.log4j</groupId>
+ <artifactId>log4j-core</artifactId>
+ <scope>test</scope>
+ </dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-slf4j2-impl</artifactId>
diff --git a/core/camel-core-xml/pom.xml b/core/camel-core-xml/pom.xml
index 07353ffd905..06a4b57acee 100644
--- a/core/camel-core-xml/pom.xml
+++ b/core/camel-core-xml/pom.xml
@@ -61,6 +61,11 @@
</dependency>
<!-- logging for testing -->
+ <dependency>
+ <groupId>org.apache.logging.log4j</groupId>
+ <artifactId>log4j-core</artifactId>
+ <scope>test</scope>
+ </dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-slf4j2-impl</artifactId>
diff --git a/core/camel-main/pom.xml b/core/camel-main/pom.xml
index ef15040de6a..82bf788fb00 100644
--- a/core/camel-main/pom.xml
+++ b/core/camel-main/pom.xml
@@ -119,6 +119,11 @@
<artifactId>camel-seda</artifactId>
<scope>test</scope>
</dependency>
+ <dependency>
+ <groupId>org.apache.logging.log4j</groupId>
+ <artifactId>log4j-core</artifactId>
+ <scope>test</scope>
+ </dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-slf4j2-impl</artifactId>
diff --git a/core/camel-management/pom.xml b/core/camel-management/pom.xml
index 2d3085dc7f6..7f873ab7190 100644
--- a/core/camel-management/pom.xml
+++ b/core/camel-management/pom.xml
@@ -87,6 +87,11 @@
<scope>test</scope>
</dependency>
<!-- logging for testing -->
+ <dependency>
+ <groupId>org.apache.logging.log4j</groupId>
+ <artifactId>log4j-core</artifactId>
+ <scope>test</scope>
+ </dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-slf4j2-impl</artifactId>
diff --git a/core/camel-support/pom.xml b/core/camel-support/pom.xml
index f75ddc49fb9..53516dc7f3a 100644
--- a/core/camel-support/pom.xml
+++ b/core/camel-support/pom.xml
@@ -65,6 +65,11 @@
</dependency>
<!-- logging -->
+ <dependency>
+ <groupId>org.apache.logging.log4j</groupId>
+ <artifactId>log4j-core</artifactId>
+ <scope>test</scope>
+ </dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-slf4j2-impl</artifactId>
diff --git a/core/camel-util/pom.xml b/core/camel-util/pom.xml
index f68463bd56a..78cc7b5909f 100644
--- a/core/camel-util/pom.xml
+++ b/core/camel-util/pom.xml
@@ -59,6 +59,11 @@
</dependency>
<!-- logging -->
+ <dependency>
+ <groupId>org.apache.logging.log4j</groupId>
+ <artifactId>log4j-core</artifactId>
+ <scope>test</scope>
+ </dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-slf4j2-impl</artifactId>
diff --git a/core/camel-xml-jaxp/pom.xml b/core/camel-xml-jaxp/pom.xml
index fa4285544b0..17e1e181f04 100644
--- a/core/camel-xml-jaxp/pom.xml
+++ b/core/camel-xml-jaxp/pom.xml
@@ -65,6 +65,11 @@
<scope>test</scope>
</dependency>
<!-- logging -->
+ <dependency>
+ <groupId>org.apache.logging.log4j</groupId>
+ <artifactId>log4j-core</artifactId>
+ <scope>test</scope>
+ </dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-slf4j2-impl</artifactId>