diff --git a/activemq-console/src/test/resources/activemq.xml b/activemq-console/src/test/resources/activemq.xml index 1f1d361048..199d27f905 100644 --- a/activemq-console/src/test/resources/activemq.xml +++ b/activemq-console/src/test/resources/activemq.xml @@ -19,16 +19,16 @@ - - - - - + - + + + + + diff --git a/activemq-console/src/test/resources/log4j.properties b/activemq-console/src/test/resources/log4j.properties index 043f16dbc0..555394fcce 100644 --- a/activemq-console/src/test/resources/log4j.properties +++ b/activemq-console/src/test/resources/log4j.properties @@ -18,11 +18,27 @@ # # The logging properties used during tests.. # -log4j.rootLogger=DEBUG, stdout +log4j.rootLogger=WARN, B -log4j.logger.org.apache.activemq.spring=WARN +log4j.additivity.org.apache.activemq.transport.TransportLogger=false +log4j.logger.org.apache.activemq.transport.TransportLogger=DEBUG, A -# CONSOLE appender not used by default +# 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 \ No newline at end of file +log4j.appender.stdout.layout.ConversionPattern=%d [%-15.15t] %-5p %-30.30c{1} - %m%n + +# File appender for transport level output +log4j.appender.A=org.apache.log4j.FileAppender +log4j.appender.A.File=transportlog +log4j.appender.A.BufferedIO=false +log4j.appender.A.layout=org.apache.log4j.PatternLayout +log4j.appender.A.layout.ConversionPattern=%d [%-15.15t] %-5p %-30.30c{1} - %m%n + +# File appender for normal output +log4j.appender.B=org.apache.log4j.FileAppender +log4j.appender.B.File=applog +log4j.appender.B.BufferedIO=false +log4j.appender.B.layout=org.apache.log4j.PatternLayout +log4j.appender.B.layout.ConversionPattern=%d [%-15.15t] %-5p %-30.30c{1} - %m%n +