https://issues.apache.org/jira/browse/AMQ-5266 track cursor pending additions size in debug logging

This commit is contained in:
gtully 2014-10-23 16:56:24 +01:00
parent 3042797b41
commit 33089f3fbb
1 changed files with 3 additions and 3 deletions

View File

@ -944,8 +944,8 @@ public class Queue extends BaseDestination implements Task, UsageListener, Index
messagesLock.readLock().unlock();
}
return destination.getQualifiedName() + ", subscriptions=" + consumers.size()
+ ", memory=" + memoryUsage.getPercentUsage() + "%, size=" + size + ", in flight groups="
+ messageGroupOwners;
+ ", memory=" + memoryUsage.getPercentUsage() + "%, size=" + size + ", pending="
+ indexOrderedCursorUpdates.size();
}
@Override
@ -1877,7 +1877,7 @@ public class Queue extends BaseDestination implements Task, UsageListener, Index
LOG.debug("{} toPageIn: {}, Inflight: {}, pagedInMessages.size {}, pagedInPendingDispatch.size {}, enqueueCount: {}, dequeueCount: {}, memUsage:{}",
new Object[]{
destination.getPhysicalName(),
this,
toPageIn,
destinationStatistics.getInflight().getCount(),
pagedInMessages.size(),