summaryrefslogtreecommitdiff
path: root/cpp/src
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
commit4cdd4753d0efff9ccd997fb9ddf0117030b5e1eb (patch)
tree96a2235dfe477c4db88e9a0fcbf6ce59b719a2ec /cpp/src
parentd23c0c08c601676c4aa05fed3f5b64c7281e7156 (diff)
downloadqpid-python-4cdd4753d0efff9ccd997fb9ddf0117030b5e1eb.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.cpp1
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);
}
}
}