diff --git a/tests/config/log4j2-tests-config.properties b/tests/config/log4j2-tests-config.properties index ea08f9d741..be88f1b87d 100644 --- a/tests/config/log4j2-tests-config.properties +++ b/tests/config/log4j2-tests-config.properties @@ -15,6 +15,8 @@ # Log4J 2 configuration used in tests. rootLogger = INFO, Console +# replace rootLogger by the following line if you want File output on your logging +# rootLogger = INFO, Console, File logger.activemq.name=org.apache.activemq logger.activemq.level=INFO @@ -37,3 +39,10 @@ appender.console.type=Console appender.console.name=Console appender.console.layout.type=PatternLayout appender.console.layout.pattern=[%t] %d{HH:mm:ss,SSS} %-5level [%logger] %msg%n + +# appender.file.type=File +# appender.file.name=File +# appender.file.fileName=target/test-debug.log +# appender.file.layout.type=PatternLayout +# appender.file.layout.pattern=%d{HH:mm:ss.SSS} [%t] %-5level %logger{36} - %msg%n +# appender.file.append=true