qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ritch...@apache.org
Subject svn commit: r763547 - /qpid/branches/0.5-release/qpid/java/broker/src/main/java/org/apache/qpid/server/subscription/SubscriptionImpl.java
Date Thu, 09 Apr 2009 07:39:53 GMT
Author: ritchiem
Date: Thu Apr  9 07:39:53 2009
New Revision: 763547

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

Modified:
    qpid/branches/0.5-release/qpid/java/broker/src/main/java/org/apache/qpid/server/subscription/SubscriptionImpl.java

Modified: qpid/branches/0.5-release/qpid/java/broker/src/main/java/org/apache/qpid/server/subscription/SubscriptionImpl.java
URL: http://svn.apache.org/viewvc/qpid/branches/0.5-release/qpid/java/broker/src/main/java/org/apache/qpid/server/subscription/SubscriptionImpl.java?rev=763547&r1=763546&r2=763547&view=diff
==============================================================================
--- qpid/branches/0.5-release/qpid/java/broker/src/main/java/org/apache/qpid/server/subscription/SubscriptionImpl.java
(original)
+++ qpid/branches/0.5-release/qpid/java/broker/src/main/java/org/apache/qpid/server/subscription/SubscriptionImpl.java
Thu Apr  9 07:39:53 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