ARTEMIS-232 Fixing logs

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

Branch: refs/heads/master
Commit: 4cdcc618ff3dc08db45d696b5c4955abcee23782
Parents: fcdfbdb
Author: Clebert Suconic <[email protected]>
Authored: Thu Sep 24 22:16:47 2015 -0400
Committer: Clebert Suconic <[email protected]>
Committed: Thu Sep 24 22:31:29 2015 -0400

----------------------------------------------------------------------
 .../artemis/core/remoting/server/impl/RemotingServiceImpl.java    | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/4cdcc618/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 8c6fcee..5b273c3 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
@@ -422,11 +422,12 @@ public class RemotingServiceImpl implements 
RemotingService, ConnectionLifeCycle
       ConnectionEntry entry = connections.remove(remotingConnectionID);
 
       if (entry != null) {
+         ActiveMQServerLogger.LOGGER.debug("RemotingServiceImpl::removing 
connection ID " + remotingConnectionID);
          connectionCountLatch.countDown();
          return entry.connection;
       }
       else {
-         ActiveMQServerLogger.LOGGER.errorRemovingConnection();
+         ActiveMQServerLogger.LOGGER.debug("The connectionID::" + 
remotingConnectionID + " was already removed by some other module");
 
          return null;
       }

Reply via email to