activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From martyntay...@apache.org
Subject [1/4] activemq-artemis git commit: ARTEMIS-611 fix logging
Date Thu, 21 Jul 2016 15:57:05 GMT
Repository: activemq-artemis
Updated Branches:
  refs/heads/master 057be3007 -> cfaaba41d


ARTEMIS-611 fix logging


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

Branch: refs/heads/master
Commit: 707b51796a6d786382720b96004e2c5590782287
Parents: 057be30
Author: jbertram <jbertram@apache.org>
Authored: Wed Jul 20 12:10:34 2016 -0500
Committer: jbertram <jbertram@apache.org>
Committed: Wed Jul 20 15:54:28 2016 -0500

----------------------------------------------------------------------
 .../artemis/core/protocol/stomp/v11/StompFrameHandlerV11.java    | 4 +++-
 .../artemis/core/remoting/server/impl/RemotingServiceImpl.java   | 1 -
 2 files changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/707b5179/artemis-protocols/artemis-stomp-protocol/src/main/java/org/apache/activemq/artemis/core/protocol/stomp/v11/StompFrameHandlerV11.java
----------------------------------------------------------------------
diff --git a/artemis-protocols/artemis-stomp-protocol/src/main/java/org/apache/activemq/artemis/core/protocol/stomp/v11/StompFrameHandlerV11.java
b/artemis-protocols/artemis-stomp-protocol/src/main/java/org/apache/activemq/artemis/core/protocol/stomp/v11/StompFrameHandlerV11.java
index 0eb1951..6d71319 100644
--- a/artemis-protocols/artemis-stomp-protocol/src/main/java/org/apache/activemq/artemis/core/protocol/stomp/v11/StompFrameHandlerV11.java
+++ b/artemis-protocols/artemis-stomp-protocol/src/main/java/org/apache/activemq/artemis/core/protocol/stomp/v11/StompFrameHandlerV11.java
@@ -284,7 +284,9 @@ public class StompFrameHandlerV11 extends VersionedStompFrameHandler implements
             connectionTtl = ttlMax;
             clientPingResponse = (long) (ttlMax / heartBeatToTtlModifier);
          }
-         ActiveMQServerLogger.LOGGER.info("Setting TTL to: " + connectionTtl);
+         if (ActiveMQServerLogger.LOGGER.isDebugEnabled()) {
+            ActiveMQServerLogger.LOGGER.debug("Setting STOMP client TTL to: " + connectionTtl);
+         }
          connectionEntry.ttl = connectionTtl;
 
          if (clientAcceptPing != 0) {

http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/707b5179/artemis-server/src/main/java/org/apache/activemq/artemis/core/remoting/server/impl/RemotingServiceImpl.java
----------------------------------------------------------------------
diff --git a/artemis-server/src/main/java/org/apache/activemq/artemis/core/remoting/server/impl/RemotingServiceImpl.java
b/artemis-server/src/main/java/org/apache/activemq/artemis/core/remoting/server/impl/RemotingServiceImpl.java
index 1a8e32b..49a81db 100644
--- a/artemis-server/src/main/java/org/apache/activemq/artemis/core/remoting/server/impl/RemotingServiceImpl.java
+++ b/artemis-server/src/main/java/org/apache/activemq/artemis/core/remoting/server/impl/RemotingServiceImpl.java
@@ -688,7 +688,6 @@ public class RemotingServiceImpl implements RemotingService, ServerConnectionLif
       @Override
       public void run() {
          while (!closed) {
-            ActiveMQServerLogger.LOGGER.info("Checking...");
             try {
                long now = System.currentTimeMillis();
 


Mime
View raw message