From 273129934514e0fabc5e42118c227a53ea57bbdc Mon Sep 17 00:00:00 2001 From: Domenico Francesco Bruscino Date: Tue, 12 Sep 2023 18:26:51 +0200 Subject: [PATCH] ARTEMIS-4428 Expand default loggers configuration --- .../artemis/cli/commands/etc/log4j2.properties | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/artemis-cli/src/main/resources/org/apache/activemq/artemis/cli/commands/etc/log4j2.properties b/artemis-cli/src/main/resources/org/apache/activemq/artemis/cli/commands/etc/log4j2.properties index 7780d8c7ff..e2ff0b2ea5 100644 --- a/artemis-cli/src/main/resources/org/apache/activemq/artemis/cli/commands/etc/log4j2.properties +++ b/artemis-cli/src/main/resources/org/apache/activemq/artemis/cli/commands/etc/log4j2.properties @@ -18,7 +18,9 @@ # Monitor config file every X seconds for updates monitorInterval = 5 -rootLogger = INFO, console, log_file +rootLogger.level = OFF +rootLogger.appenderRef.console.ref = console +rootLogger.appenderRef.log_file.ref = log_file logger.activemq.name=org.apache.activemq logger.activemq.level=INFO @@ -38,16 +40,19 @@ logger.critical_analyzer.name=org.apache.activemq.artemis.utils.critical logger.critical_analyzer.level=INFO # Audit loggers: to enable change levels from OFF to INFO -logger.audit_base = OFF, audit_log_file logger.audit_base.name = org.apache.activemq.audit.base +logger.audit_base.level = OFF +logger.audit_base.appenderRef.audit_log_file.ref = audit_log_file logger.audit_base.additivity = false -logger.audit_resource = OFF, audit_log_file logger.audit_resource.name = org.apache.activemq.audit.resource +logger.audit_resource.level = OFF +logger.audit_resource.appenderRef.audit_log_file.ref = audit_log_file logger.audit_resource.additivity = false -logger.audit_message = OFF, audit_log_file logger.audit_message.name = org.apache.activemq.audit.message +logger.audit_message.level = OFF +logger.audit_message.appenderRef.audit_log_file.ref = audit_log_file logger.audit_message.additivity = false # Jetty logger levels