activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbert...@apache.org
Subject [2/2] activemq-artemis git commit: new logging.properties and trace format
Date Fri, 20 May 2016 17:34:20 GMT
new logging.properties and trace format


Project: http://git-wip-us.apache.org/repos/asf/activemq-artemis/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq-artemis/commit/5593fa5d
Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/5593fa5d
Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/5593fa5d

Branch: refs/heads/master
Commit: 5593fa5d3ab5d305d67ba5a7617334203ab36c36
Parents: 7f204eb
Author: Clebert Suconic <clebertsuconic@apache.org>
Authored: Wed May 18 14:26:01 2016 -0400
Committer: jbertram <jbertram@apache.org>
Committed: Fri May 20 12:34:04 2016 -0500

----------------------------------------------------------------------
 tests/config/logging.properties       |  2 +-
 tests/config/logging.properties.trace | 14 ++++----------
 2 files changed, 5 insertions(+), 11 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/5593fa5d/tests/config/logging.properties
----------------------------------------------------------------------
diff --git a/tests/config/logging.properties b/tests/config/logging.properties
index 6514913..29a4b47 100644
--- a/tests/config/logging.properties
+++ b/tests/config/logging.properties
@@ -58,4 +58,4 @@ 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
+formatter.PATTERN.pattern=[%t] %d{HH:mm:ss,SSS} %-5p [%c] %s%E%n

http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/5593fa5d/tests/config/logging.properties.trace
----------------------------------------------------------------------
diff --git a/tests/config/logging.properties.trace b/tests/config/logging.properties.trace
index 7fe923f..aa23850 100644
--- a/tests/config/logging.properties.trace
+++ b/tests/config/logging.properties.trace
@@ -23,15 +23,6 @@ loggers=org.jboss.logging,org.apache.activemq.artemis.core.server,org.apache.act
 
 # Root logger level
 logger.level=TRACE
-# ActiveMQ Artemis logger levels
-logger.org.apache.activemq.artemis.core.server.level=TRACE
-logger.org.apache.activemq.artemis.journal.level=TRACE
-logger.org.apache.activemq.artemis.utils.level=TRACE
-logger.org.apache.activemq.artemis.jms.level=TRACE
-logger.org.apache.activemq.artemis.ra.level=TRACE
-logger.org.apache.activemq.artemis.tests.unit.level=TRACE
-logger.org.apache.activemq.artemis.tests.integration.level=TRACE
-logger.org.apache.activemq.artemis.jms.tests.level=TRACE
 
 # Root logger handlers
 logger.handlers=CONSOLE,TEST,FILE
@@ -60,4 +51,7 @@ 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
+formatter.PATTERN.pattern=[%t] %d{HH:mm:ss,SSS} %-5p [%c] %s%E%n
+
+# Alternate format useful when debugging
+#formatter.PATTERN.pattern=*** [%t] ***\n%d{HH:mm:ss,SSS} %-5p [%c] %s%E%n\n


Mime
View raw message