activemq-artemis/tests/config/log4j2-tests-config.properties

46 lines
1.7 KiB
Properties

# 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.
# Log4J 2 configuration used in tests.
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
logger.zookeeper.name=org.apache.zookeeper
logger.zookeeper.level=WARN
logger.directory.name=org.apache.directory
logger.directory.level=FATAL
# Console appender
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
# Test appender org.apache.activemq.artemis.logs.AssertionLoggerHandler
appender.test.type=AssertionLoggerHandler
appender.test.name=Test
appender.test.layout.type=PatternLayout
appender.test.layout.pattern=[%t] %d{HH:mm:ss,SSS} %-5level [%logger] %msg%n