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/09/12 06:24:01 UTC
[camel] 10/10: Camel-Thymeleaf: Log for tests only on file
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.git
commit c64da1bec3bd0dd0124e7deaf21c011d2d070286
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Sep 12 08:23:24 2023 +0200
Camel-Thymeleaf: Log for tests only on file
Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
.../src/test/resources/log4j2.properties | 21 +++++++--------------
1 file changed, 7 insertions(+), 14 deletions(-)
diff --git a/components/camel-thymeleaf/src/test/resources/log4j2.properties b/components/camel-thymeleaf/src/test/resources/log4j2.properties
index 3ee03fc4552..71bdf57528e 100644
--- a/components/camel-thymeleaf/src/test/resources/log4j2.properties
+++ b/components/camel-thymeleaf/src/test/resources/log4j2.properties
@@ -15,22 +15,15 @@
## limitations under the License.
## ---------------------------------------------------------------------------
-appender.out.type = File
+appender.file.type = File
+appender.file.name = file
+appender.file.fileName = target/camel-thymeleaf-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.fileName = target/camel-thymeleaf-test.log
appender.out.layout.type = PatternLayout
appender.out.layout.pattern = %d [%-15.15t] %-5p %-30.30c{1} - %m%n
-appender.stdout.type = Console
-appender.stdout.name = stdout
-appender.stdout.layout.type = PatternLayout
-appender.stdout.layout.pattern = %d [%-15.15t] %-5p %-30.30c{1} - %m%n
rootLogger.level = INFO
-rootLogger.appenderRef.out.ref = out
-rootLogger.appenderRef.stdout.ref = stdout
-#logger.thymeleaf.name = org.apache.camel.component.thymeleaf
-#logger.thymeleaf.level = INFO
-logger.camel.name = org.apache.camel
-logger.camel.level = INFO
-logger.springframework.name = org.springframework
-logger.springframework.level = INFO
+rootLogger.appenderRef.file.ref = file