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