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 88a697f38cd922470677a7a16e3103b424c663b4
Author: Andrea Cosentino <[email protected]>
AuthorDate: Mon Jan 16 18:06:20 2023 +0100

    CAMEL-18936 - components - Add log4j-core so logging to logfile works
    
    Signed-off-by: Andrea Cosentino <[email protected]>
---
 components/pom.xml | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/components/pom.xml b/components/pom.xml
index f2045648eda..8b26c2fbfd7 100644
--- a/components/pom.xml
+++ b/components/pom.xml
@@ -336,6 +336,20 @@
 
         <camel-prepare-component>true</camel-prepare-component>
     </properties>
+    
+    <dependencies>    
+        <!-- logging for testing -->
+        <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-core</artifactId>
+            <scope>test</scope>
+        </dependency>
+    </dependencies>
 
     <build>
         <pluginManagement>

Reply via email to