NO-JIRA proposed log4j commented out log configuration for testing

I have to keep looking how to do this every time I need it.
I just wanted to proposed a commented out section for next time I need this again.
This commit is contained in:
Clebert Suconic 2024-02-07 16:16:19 -05:00 committed by Justin Bertram
parent cdd341a1e8
commit 460faf50fd
1 changed files with 9 additions and 0 deletions

View File

@ -15,6 +15,8 @@
# Log4J 2 configuration used in tests. # Log4J 2 configuration used in tests.
rootLogger = INFO, Console 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.name=org.apache.activemq
logger.activemq.level=INFO logger.activemq.level=INFO
@ -37,3 +39,10 @@ appender.console.type=Console
appender.console.name=Console appender.console.name=Console
appender.console.layout.type=PatternLayout appender.console.layout.type=PatternLayout
appender.console.layout.pattern=[%t] %d{HH:mm:ss,SSS} %-5level [%logger] %msg%n 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