[hornetq-commits] JBoss hornetq SVN: r10938 - branches/Branch_2_2_EAP_cluster_clean2/src/main/org/hornetq/core/client/impl.

do-not-reply at jboss.org do-not-reply at jboss.org
Wed Jul 6 15:32:57 EDT 2011


Author: clebert.suconic at jboss.com
Date: 2011-07-06 15:32:56 -0400 (Wed, 06 Jul 2011)
New Revision: 10938

Modified:
   branches/Branch_2_2_EAP_cluster_clean2/src/main/org/hornetq/core/client/impl/ClientSessionFactoryImpl.java
Log:
tweaks

Modified: branches/Branch_2_2_EAP_cluster_clean2/src/main/org/hornetq/core/client/impl/ClientSessionFactoryImpl.java
===================================================================
--- branches/Branch_2_2_EAP_cluster_clean2/src/main/org/hornetq/core/client/impl/ClientSessionFactoryImpl.java	2011-07-06 19:31:26 UTC (rev 10937)
+++ branches/Branch_2_2_EAP_cluster_clean2/src/main/org/hornetq/core/client/impl/ClientSessionFactoryImpl.java	2011-07-06 19:32:56 UTC (rev 10938)
@@ -1379,7 +1379,10 @@
          {
             final DisconnectMessage msg = (DisconnectMessage)packet;
             
-            log.info("PUTZ10 Disconnect arrived: " + msg);
+            if (log.isTraceEnabled())
+            {
+               log.trace("Disconnect being called on client:" + msg);
+            }
 
             closeExecutor.execute(new Runnable()
             {
@@ -1393,7 +1396,6 @@
                      serverLocator.notifyNodeDown(msg.getNodeID().toString());
                   }
 
-                  log.info("Disconnect being called on connection");
                   conn.fail(new HornetQException(HornetQException.DISCONNECTED,
                                                  "The connection was disconnected because of server shutdown"));
 



More information about the hornetq-commits mailing list