You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by or...@apache.org on 2023/08/03 15:32:17 UTC

[camel] branch main updated: (chores) camel-dhis2: fix test log output to stdout (#10984)

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

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


The following commit(s) were added to refs/heads/main by this push:
     new aab0079a815 (chores) camel-dhis2: fix test log output to stdout (#10984)
aab0079a815 is described below

commit aab0079a815041d4e08ef74e9091c65d58067057
Author: Otavio Rodolfo Piske <or...@users.noreply.github.com>
AuthorDate: Thu Aug 3 17:32:11 2023 +0200

    (chores) camel-dhis2: fix test log output to stdout (#10984)
---
 .../camel-dhis2-component/src/test/resources/log4j2-test.xml       | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/components/camel-dhis2/camel-dhis2-component/src/test/resources/log4j2-test.xml b/components/camel-dhis2/camel-dhis2-component/src/test/resources/log4j2-test.xml
index b09fd54e14a..8f5704ba929 100644
--- a/components/camel-dhis2/camel-dhis2-component/src/test/resources/log4j2-test.xml
+++ b/components/camel-dhis2/camel-dhis2-component/src/test/resources/log4j2-test.xml
@@ -18,18 +18,17 @@
 
 -->
 <Configuration>
-
     <Appenders>
-        <Console name="Console" target="SYSTEM_OUT">
+        <File name="file" fileName="target/camel-dhis2-test.log">
             <PatternLayout pattern="[%30.30t] %-30.30c{1} %-5p %m%n"/>
-        </Console>
+        </File>
     </Appenders>
 
     <Loggers>
         <Logger name="org.testcontainers" level="INFO" additivity="true"/>
 
         <Root level="info">
-            <AppenderRef ref="Console"/>
+            <AppenderRef ref="file"/>
         </Root>
     </Loggers>