64 lines
2.5 KiB
Plaintext
64 lines
2.5 KiB
Plaintext
#
|
|
# 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.core.server,org.apache.activemq.utils,org.apache.activemq.journal,org.apache.activemq.jms,org.apache.activemq.ra,org.apache.activemq.tests.unit,org.apache.activemq.tests.integration,org.apache.activemq.jms.tests
|
|
|
|
# Root logger level
|
|
logger.level=INFO
|
|
# ActiveMQ logger levels
|
|
logger.org.apache.activemq.core.server.level=TRACE
|
|
logger.org.apache.activemq.journal.level=INFO
|
|
logger.org.apache.activemq.utils.level=INFO
|
|
logger.org.apache.activemq.jms.level=INFO
|
|
logger.org.apache.activemq.ra.level=INFO
|
|
logger.org.apache.activemq.tests.unit.level=INFO
|
|
logger.org.apache.activemq.tests.integration.level=INFO
|
|
logger.org.apache.activemq.jms.tests.level=INFO
|
|
|
|
# Root logger handlers
|
|
logger.handlers=CONSOLE,TEST
|
|
#logger.handlers=CONSOLE,FILE
|
|
|
|
# Console handler configuration
|
|
handler.CONSOLE=org.jboss.logmanager.handlers.ConsoleHandler
|
|
handler.CONSOLE.properties=autoFlush
|
|
handler.CONSOLE.level=FINE
|
|
handler.CONSOLE.autoFlush=true
|
|
handler.CONSOLE.formatter=PATTERN
|
|
|
|
# File handler configuration
|
|
handler.FILE=org.jboss.logmanager.handlers.FileHandler
|
|
handler.FILE.level=FINE
|
|
handler.FILE.properties=autoFlush,fileName
|
|
handler.FILE.autoFlush=true
|
|
handler.FILE.fileName=target/activemq.log
|
|
handler.FILE.formatter=PATTERN
|
|
|
|
# Console handler configuration
|
|
handler.TEST=org.apache.activemq.tests.logging.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=%d{HH:mm:ss,SSS} %-5p [%c] %s%E%n
|