summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2011-04-15 17:38:26 +0000
committerGordon Sim <gsim@apache.org>2011-04-15 17:38:26 +0000
commitd030d0183fa6caef63c9098145f7239acbbc48b7 (patch)
tree4c1522e1fa819d22b3e0d0cba940f5b33491f65d
parentd53fc2181c44aa6a19c827aaacdc959d338bcdf8 (diff)
downloadqpid-python-d030d0183fa6caef63c9098145f7239acbbc48b7.tar.gz
QPID-3204: Add logging for queue threshold events
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1092772 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--qpid/cpp/src/qpid/broker/ThresholdAlerts.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/qpid/cpp/src/qpid/broker/ThresholdAlerts.cpp b/qpid/cpp/src/qpid/broker/ThresholdAlerts.cpp
index d616abadd6..3c9e210d4d 100644
--- a/qpid/cpp/src/qpid/broker/ThresholdAlerts.cpp
+++ b/qpid/cpp/src/qpid/broker/ThresholdAlerts.cpp
@@ -97,6 +97,7 @@ void ThresholdAlerts::enqueued(const QueuedMessage& m)
if (isThresholdEvent(m.payload)) return;
lastAlert = qpid::sys::now();
agent.raiseEvent(qmf::org::apache::qpid::broker::EventQueueThresholdExceeded(name, count, size));
+ QPID_LOG(info, "Threshold event triggered for " << name << ", count=" << count << ", size=" << size);
}
}
}