From 4727be6a69849944bb0b0f4cb1df26ed250f2e62 Mon Sep 17 00:00:00 2001 From: Clebert Suconic Date: Tue, 11 May 2021 17:22:38 -0400 Subject: [PATCH] NO-JIRA fixing logging.properties --- tests/config/logging.properties | 6 +-- tests/config/logging.properties.trace | 57 --------------------------- 2 files changed, 3 insertions(+), 60 deletions(-) delete mode 100644 tests/config/logging.properties.trace diff --git a/tests/config/logging.properties b/tests/config/logging.properties index 14e40a97ce..2742facd8d 100644 --- a/tests/config/logging.properties +++ b/tests/config/logging.properties @@ -17,13 +17,13 @@ # Additional logger names to configure (root logger is always configured) # Root logger option -loggers=org.jboss.logging,org.apache.activemq.artemis.core.server,org.apache.activemq.artemis.utils,org.apache.activemq.artemis.journal,org.apache.activemq.artemis.jms,org.apache.activemq.artemis.ra,org.apache.activemq.artemis.tests.smoke,org.apache.activemq.artemis.tests.unit,org.apache.activemq.artemis.tests.integration,org.apache.activemq.artemis.jms.tests,org.apache.activemq.cli.test,org.apache.activemq.audit,org.apache.activemq.audit.message +loggers=org.jboss.logging,org.apache.activemq.artemis.core.server,org.apache.activemq.artemis.utils,org.apache.activemq.artemis.core.journal,org.apache.activemq.artemis.jms,org.apache.activemq.artemis.ra,org.apache.activemq.artemis.tests.smoke,org.apache.activemq.artemis.tests.unit,org.apache.activemq.artemis.tests.integration,org.apache.activemq.artemis.jms.tests,org.apache.activemq.cli.test,org.apache.activemq.audit,org.apache.activemq.audit.message # Root logger level logger.level=INFO # ActiveMQ Artemis logger levels logger.org.apache.activemq.artemis.core.server.level=INFO -logger.org.apache.activemq.artemis.journal.level=INFO +logger.org.apache.activemq.artemis.core.journal.level=INFO logger.org.apache.activemq.artemis.utils.level=INFO logger.org.apache.activemq.artemis.jms.level=INFO logger.org.apache.activemq.artemis.ra.level=INFO @@ -48,7 +48,7 @@ logger.org.apache.activemq.audit.useParentHandlers=false # Console handler configuration handler.CONSOLE=org.jboss.logmanager.handlers.ConsoleHandler handler.CONSOLE.properties=autoFlush -handler.CONSOLE.level=FINE +handler.CONSOLE.level=TRACE handler.CONSOLE.autoFlush=true handler.CONSOLE.formatter=PATTERN diff --git a/tests/config/logging.properties.trace b/tests/config/logging.properties.trace deleted file mode 100644 index cd6e364904..0000000000 --- a/tests/config/logging.properties.trace +++ /dev/null @@ -1,57 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one or more -# contributor license agreements. See the NOTICE file distributed with -# this work for additional information regarding copyright ownership. -# The ASF licenses this file to You under the Apache License, Version 2.0 -# (the "License"); you may not use this file except in compliance with -# the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -# this is an example of a logging configuration where you could enable tracing at the testsuite - -# Additional logger names to configure (root logger is always configured) -# Root logger option -loggers=org.jboss.logging,org.apache.activemq.artemis.core.server,org.apache.activemq.artemis.utils,org.apache.activemq.artemis.journal,org.apache.activemq.artemis.jms,org.apache.activemq.artemis.ra,org.apache.activemq.artemis.tests.unit,org.apache.activemq.artemis.tests.integration,org.apache.activemq.artemis.jms.tests - -# Root logger level -logger.level=TRACE - -# Root logger handlers -logger.handlers=CONSOLE,TEST,FILE -#logger.handlers=CONSOLE,FILE - -# Console handler configuration -handler.CONSOLE=org.jboss.logmanager.handlers.ConsoleHandler -handler.CONSOLE.properties=autoFlush -handler.CONSOLE.level=INFO -handler.CONSOLE.autoFlush=true -handler.CONSOLE.formatter=PATTERN - -# File handler configuration -handler.FILE=org.jboss.logmanager.handlers.FileHandler -handler.FILE.level=TRACE -handler.FILE.properties=autoFlush,fileName -handler.FILE.autoFlush=true -handler.FILE.fileName=target/activemq.log -handler.FILE.formatter=PATTERN - -# Test handler -handler.TEST=org.apache.activemq.artemis.logs.AssertionLoggerHandler -handler.TEST.level=TRACE -handler.TEST.formatter=PATTERN - -# Formatter pattern configuration -formatter.PATTERN=org.jboss.logmanager.formatters.PatternFormatter -formatter.PATTERN.properties=pattern -#formatter.PATTERN.pattern=[%t] %d{HH:mm:ss,SSS} %-5p [%c] %s%E%n - -# Alternate format useful when debugging -formatter.PATTERN.pattern=*** [%t] ***\n%d{HH:mm:ss,SSS} %-5p [%c] %s%E%n\n