improve logging by adding sub key

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1033487 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gary Tully 2010-11-10 14:26:30 +00:00
parent d8b11896ab
commit 5baf5f5e76
1 changed files with 1 additions and 1 deletions

View File

@ -247,7 +247,7 @@ public class DurableTopicSubscription extends PrefetchSubscription implements Us
public synchronized String toString() {
return "DurableTopicSubscription:" + " consumer=" + info.getConsumerId() + ", destinations=" + destinations.size() + ", total=" + enqueueCounter + ", pending="
return "DurableTopicSubscription-" + getSubscriptionKey() + ", id=" + info.getConsumerId() + ", destinations=" + destinations.size() + ", total=" + enqueueCounter + ", pending="
+ getPendingQueueSize() + ", dispatched=" + dispatchCounter + ", inflight=" + dispatched.size() + ", prefetchExtension=" + this.prefetchExtension;
}