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 | 009dcaf5a868e2ac7268b941057f5cf304918803 (patch) | |
tree | 96a2235dfe477c4db88e9a0fcbf6ce59b719a2ec /cpp/src | |
parent | 7952aa3296d4acedf09d9526f5947d8b32cee711 (diff) | |
download | qpid-python-009dcaf5a868e2ac7268b941057f5cf304918803.tar.gz |
QPID-3204: Add logging for queue threshold events
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1092772 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src')
-rw-r--r-- | cpp/src/qpid/broker/ThresholdAlerts.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cpp/src/qpid/broker/ThresholdAlerts.cpp b/cpp/src/qpid/broker/ThresholdAlerts.cpp index d616abadd6..3c9e210d4d 100644 --- a/cpp/src/qpid/broker/ThresholdAlerts.cpp +++ b/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); } } } |