summaryrefslogtreecommitdiff
path: root/qpid/cpp/src
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2009-07-24 12:47:53 +0000
committerAlan Conway <aconway@apache.org>2009-07-24 12:47:53 +0000
commite5255bded6437728e6fa4eaf49f778d8546f9850 (patch)
tree276e62b0b56e6cc3930a6c447f6a324f0215161e /qpid/cpp/src
parente28e61ac208c9a873c52a5fc2ce2505f50c22377 (diff)
downloadqpid-python-e5255bded6437728e6fa4eaf49f778d8546f9850.tar.gz
Revert "Remove uninformative per-message info level log message."
This reverts r797184. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@797432 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src')
-rw-r--r--qpid/cpp/src/qpid/broker/QueuePolicy.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/qpid/cpp/src/qpid/broker/QueuePolicy.cpp b/qpid/cpp/src/qpid/broker/QueuePolicy.cpp
index b19358156a..39afe90134 100644
--- a/qpid/cpp/src/qpid/broker/QueuePolicy.cpp
+++ b/qpid/cpp/src/qpid/broker/QueuePolicy.cpp
@@ -74,6 +74,9 @@ bool QueuePolicy::checkLimit(const QueuedMessage& m)
} else {
if (policyExceeded) {
policyExceeded = false;
+ if (m.queue) {
+ QPID_LOG(info, "Queue cumulative message size and message count within policy for " << m.queue->getName());
+ }
}
}
return !exceeded;