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 2021/02/17 06:24:57 UTC

[camel] 28/31: CAMEL-15964 - Fixed test logs configuration

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

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

commit ab56327042d6a298dc48c98613249f755d418240
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed Feb 17 07:12:09 2021 +0100

    CAMEL-15964 - Fixed test logs configuration
---
 .../camel-google-storage/src/test/resources/log4j2.properties    | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/components/camel-google-storage/src/test/resources/log4j2.properties b/components/camel-google-storage/src/test/resources/log4j2.properties
index aa9bb86..1541092 100644
--- a/components/camel-google-storage/src/test/resources/log4j2.properties
+++ b/components/camel-google-storage/src/test/resources/log4j2.properties
@@ -18,9 +18,14 @@
 #
 # The logging properties used during tests..
 #
+appender.file.type = File
+appender.file.name = file
+appender.file.fileName = target/camel-google-storage-test.log
+appender.file.layout.type = PatternLayout
+appender.file.layout.pattern = %d [%-15.15t] %-5p %-30.30c{1} - %m%n
 appender.out.type = Console
 appender.out.name = out
 appender.out.layout.type = PatternLayout
-appender.out.layout.pattern = [%30.30t] %-30.30c{1} %-5p %m%n
+appender.out.layout.pattern = %d [%-15.15t] %-5p %-30.30c{1} - %m%n
 rootLogger.level = INFO
-rootLogger.appenderRef.out.ref = out
+rootLogger.appenderRef.file.ref = file