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/03/03 13:36:29 UTC

[camel-kamelets] branch main updated: chore: Fix Log4j2 to SLF4J2 binding

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-kamelets.git


The following commit(s) were added to refs/heads/main by this push:
     new 90a5af60 chore: Fix Log4j2 to SLF4J2 binding
90a5af60 is described below

commit 90a5af605ac80fa74bd0e800af50ee5f04b1fa84
Author: Christoph Deppisch <cd...@redhat.com>
AuthorDate: Fri Mar 3 09:49:52 2023 +0100

    chore: Fix Log4j2 to SLF4J2 binding
    
    Use proper Log4j2 binding to support SLF4J 2.x API
---
 library/camel-kamelets-catalog/pom.xml | 2 +-
 library/camel-kamelets-utils/pom.xml   | 2 +-
 pom.xml                                | 4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/library/camel-kamelets-catalog/pom.xml b/library/camel-kamelets-catalog/pom.xml
index 5c29fd40..ce0ec444 100644
--- a/library/camel-kamelets-catalog/pom.xml
+++ b/library/camel-kamelets-catalog/pom.xml
@@ -95,7 +95,7 @@
         </dependency>
         <dependency>
             <groupId>org.apache.logging.log4j</groupId>
-            <artifactId>log4j-slf4j-impl</artifactId>
+            <artifactId>log4j-slf4j2-impl</artifactId>
             <version>${log4j.version}</version>
             <scope>test</scope>
         </dependency>
diff --git a/library/camel-kamelets-utils/pom.xml b/library/camel-kamelets-utils/pom.xml
index 12ddee04..0749c1ac 100644
--- a/library/camel-kamelets-utils/pom.xml
+++ b/library/camel-kamelets-utils/pom.xml
@@ -120,7 +120,7 @@
         </dependency>
         <dependency>
             <groupId>org.apache.logging.log4j</groupId>
-            <artifactId>log4j-slf4j-impl</artifactId>
+            <artifactId>log4j-slf4j2-impl</artifactId>
             <version>${log4j.version}</version>
             <scope>test</scope>
         </dependency>
diff --git a/pom.xml b/pom.xml
index d94dacfa..a8c791aa 100644
--- a/pom.xml
+++ b/pom.xml
@@ -61,8 +61,8 @@
 	<cyclonedx-maven-plugin-version>2.7.5</cyclonedx-maven-plugin-version>
 
         <camel.version>4.0.0-M1</camel.version>
-        <slf4j.version>1.7.36</slf4j.version>
-        <log4j.version>2.19.0</log4j.version>
+        <slf4j.version>2.0.6</slf4j.version>
+        <log4j.version>2.20.0</log4j.version>
         <jackson.version>2.14.1</jackson.version>
         <camel.k.extension.version>6.1.1</camel.k.extension.version>
         <commons.io.version>2.11.0</commons.io.version>