qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ritch...@apache.org
Subject svn commit: r763362 - /qpid/trunk/qpid/java/broker/src/main/java/org/apache/qpid/server/subscription/SubscriptionImpl.java
Date Wed, 08 Apr 2009 19:45:17 GMT
Author: ritchiem
Date: Wed Apr  8 19:45:16 2009
New Revision: 763362

URL: http://svn.apache.org/viewvc?rev=763362&view=rev
Log:
Wrapped log statement so it doesn't perform resolution when not logging.

Modified:
    qpid/trunk/qpid/java/broker/src/main/java/org/apache/qpid/server/subscription/SubscriptionImpl.java

Modified: qpid/trunk/qpid/java/broker/src/main/java/org/apache/qpid/server/subscription/SubscriptionImpl.java
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/java/broker/src/main/java/org/apache/qpid/server/subscription/SubscriptionImpl.java?rev=763362&r1=763361&r2=763362&view=diff
==============================================================================
--- qpid/trunk/qpid/java/broker/src/main/java/org/apache/qpid/server/subscription/SubscriptionImpl.java
(original)
+++ qpid/trunk/qpid/java/broker/src/main/java/org/apache/qpid/server/subscription/SubscriptionImpl.java
Wed Apr  8 19:45:16 2009
@@ -596,7 +596,10 @@
     protected void sendToClient(final QueueEntry entry, final long deliveryTag)
             throws AMQException
     {
-        _logger.info("Sending Message(" + entry + ") DTag:" + deliveryTag + " to subscription:"
+ debugIdentity());
+        if(_logger.isDebugEnabled())
+        {
+            _logger.debug("Sending Message(" + entry + ") DTag:" + deliveryTag + " to subscription:"
+ debugIdentity());
+        }
         _deliveryMethod.deliverToClient(this,entry,deliveryTag);
     }
 



---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:commits-subscribe@qpid.apache.org


Mime
View raw message