From 82a093b47947a32e56a8f6b339f08aad7421ab04 Mon Sep 17 00:00:00 2001 From: Torsten Mielke Date: Mon, 23 Jan 2012 13:30:19 +0000 Subject: [PATCH] AMQ-3665: updating logging config to write to target/activeemq-test.log git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1234783 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/test/resources/log4j.properties | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/activemq-console/src/test/resources/log4j.properties b/activemq-console/src/test/resources/log4j.properties index f8bb2ea209..a0f2ca0f20 100644 --- a/activemq-console/src/test/resources/log4j.properties +++ b/activemq-console/src/test/resources/log4j.properties @@ -18,14 +18,26 @@ # # The logging properties used during tests.. # -log4j.rootLogger=DEBUG, stdout +log4j.rootLogger=DEBUG, stdout, out log4j.logger.org.apache.activemq.spring=WARN +log4j.logger.org.apache.activemq=INFO +log4j.logger.org.apache.activemq.console.command.AMQJournalToolTest=DEBUG + # CONSOLE appender, not used by default log4j.appender.stdout=org.apache.log4j.ConsoleAppender log4j.appender.stdout.layout=org.apache.log4j.PatternLayout log4j.appender.stdout.layout.ConversionPattern=%d [%-15.15t] %-5p %-30.30c{1} - %m%n + +# File appender +log4j.appender.out=org.apache.log4j.FileAppender +log4j.appender.out.layout=org.apache.log4j.PatternLayout +log4j.appender.out.layout.ConversionPattern=%d [%-15.15t] - %-5p %-30.30c{1} - %m%n +log4j.appender.out.file=target/activemq-test.log +log4j.appender.out.append=true + + # Example of properties to make use of new logging options # #log4j.rootLogger=INFO, A