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

49 lines
1.8 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
# 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.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
# 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