2014-10-31 06:20:28 -04:00
|
|
|
#
|
2014-11-30 21:20:24 -05:00
|
|
|
# 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
|
2014-10-31 06:20:28 -04:00
|
|
|
#
|
2014-11-30 21:20:24 -05:00
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
2014-10-31 06:20:28 -04:00
|
|
|
#
|
2014-11-30 21:20:24 -05:00
|
|
|
# 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.
|
2014-10-31 06:20:28 -04:00
|
|
|
#
|
|
|
|
|
2014-11-10 11:14:12 -05:00
|
|
|
# this is an example of a logging configuration where you could enable tracing at the testsuite
|
|
|
|
|
2014-10-31 06:20:28 -04:00
|
|
|
# Additional logger names to configure (root logger is always configured)
|
|
|
|
# Root logger option
|
2014-11-17 09:23:06 -05:00
|
|
|
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
|
2014-10-31 06:20:28 -04:00
|
|
|
|
|
|
|
# Root logger level
|
|
|
|
logger.level=INFO
|
2014-11-19 03:44:57 -05:00
|
|
|
# ActiveMQ logger levels
|
2014-11-17 09:23:06 -05:00
|
|
|
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
|
2014-11-10 11:14:12 -05:00
|
|
|
|
2014-10-31 06:20:28 -04:00
|
|
|
# Root logger handlers
|
2014-11-10 11:14:12 -05:00
|
|
|
logger.handlers=CONSOLE,TEST
|
|
|
|
#logger.handlers=CONSOLE,FILE
|
2014-10-31 06:20:28 -04:00
|
|
|
|
|
|
|
# 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
|
2014-11-19 14:58:44 -05:00
|
|
|
handler.FILE.fileName=target/activemq.log
|
2014-10-31 06:20:28 -04:00
|
|
|
handler.FILE.formatter=PATTERN
|
|
|
|
|
2014-11-10 11:14:12 -05:00
|
|
|
# Console handler configuration
|
2014-11-17 09:23:06 -05:00
|
|
|
handler.TEST=org.apache.activemq.tests.logging.AssertionLoggerHandler
|
2014-11-10 11:14:12 -05:00
|
|
|
handler.TEST.level=TRACE
|
|
|
|
handler.TEST.formatter=PATTERN
|
|
|
|
|
2014-10-31 06:20:28 -04:00
|
|
|
# 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
|