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
|
2015-04-29 13:20:31 -04:00
|
|
|
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
|
2014-10-31 06:20:28 -04:00
|
|
|
|
|
|
|
# Root logger level
|
2015-09-02 18:45:00 -04:00
|
|
|
logger.level=TRACE
|
2014-11-10 11:14:12 -05:00
|
|
|
|
2014-10-31 06:20:28 -04:00
|
|
|
# Root logger handlers
|
2015-09-02 18:45:00 -04:00
|
|
|
logger.handlers=CONSOLE,TEST,FILE
|
2014-11-10 11:14:12 -05:00
|
|
|
#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
|
2015-09-02 18:45:00 -04:00
|
|
|
handler.CONSOLE.level=INFO
|
2014-10-31 06:20:28 -04:00
|
|
|
handler.CONSOLE.autoFlush=true
|
|
|
|
handler.CONSOLE.formatter=PATTERN
|
|
|
|
|
|
|
|
# File handler configuration
|
|
|
|
handler.FILE=org.jboss.logmanager.handlers.FileHandler
|
2015-09-02 18:45:00 -04:00
|
|
|
handler.FILE.level=TRACE
|
2014-10-31 06:20:28 -04:00
|
|
|
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
|
|
|
|
|
2015-09-02 18:45:00 -04:00
|
|
|
# Test handler
|
2015-04-29 13:20:31 -04:00
|
|
|
handler.TEST=org.apache.activemq.artemis.logs.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
|
2016-06-27 14:52:59 -04:00
|
|
|
#formatter.PATTERN.pattern=[%t] %d{HH:mm:ss,SSS} %-5p [%c] %s%E%n
|
2016-05-18 14:26:01 -04:00
|
|
|
|
|
|
|
# Alternate format useful when debugging
|
2016-06-27 14:52:59 -04:00
|
|
|
formatter.PATTERN.pattern=*** [%t] ***\n%d{HH:mm:ss,SSS} %-5p [%c] %s%E%n\n
|