This is an automated email from the ASF dual-hosted git repository. clebertsuconic pushed a commit to branch new-logging in repository https://gitbox.apache.org/repos/asf/activemq-artemis.git
commit 87088cb775c447be265cb43c9bae9952d2f233ee Author: Robbie Gemmell <[email protected]> AuthorDate: Tue Jul 12 17:58:23 2022 +0100 avoid NPE in a unit test due to audit loggers still being enabled, unlike prior test logging config --- tests/config/log4j2-tests-config-CI.properties | 4 ++++ tests/config/log4j2-tests-config.properties | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/tests/config/log4j2-tests-config-CI.properties b/tests/config/log4j2-tests-config-CI.properties index 4ecac73492..b912c9aeeb 100644 --- a/tests/config/log4j2-tests-config-CI.properties +++ b/tests/config/log4j2-tests-config-CI.properties @@ -19,6 +19,10 @@ rootLogger = INFO, Console, Test logger.activemq.name=org.apache.activemq logger.activemq.level=INFO +# Audit logger: to enable audit logs change the level to INFO +logger.audit.name=org.apache.activemq.audit +logger.audit.level=OFF + # quorum logger levels logger.curator.name=org.apache.curator logger.curator.level=WARN diff --git a/tests/config/log4j2-tests-config.properties b/tests/config/log4j2-tests-config.properties index b6dc034c43..982efa2741 100644 --- a/tests/config/log4j2-tests-config.properties +++ b/tests/config/log4j2-tests-config.properties @@ -19,6 +19,10 @@ rootLogger = INFO, Console, Test logger.activemq.name=org.apache.activemq logger.activemq.level=INFO +# Audit logger: to enable audit logs change the level to INFO +logger.audit.name=org.apache.activemq.audit +logger.audit.level=OFF + # Console appender appender.console.type=Console appender.console.name=Console
