diff options
author | Gordon Sim <gsim@apache.org> | 2011-04-15 17:38:26 +0000 |
---|---|---|
committer | Gordon Sim <gsim@apache.org> | 2011-04-15 17:38:26 +0000 |
commit | d030d0183fa6caef63c9098145f7239acbbc48b7 (patch) | |
tree | 4c1522e1fa819d22b3e0d0cba940f5b33491f65d | |
parent | d53fc2181c44aa6a19c827aaacdc959d338bcdf8 (diff) | |
download | qpid-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.cpp | 1 |
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); } } } |