From d030d0183fa6caef63c9098145f7239acbbc48b7 Mon Sep 17 00:00:00 2001 From: Gordon Sim Date: Fri, 15 Apr 2011 17:38:26 +0000 Subject: 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 --- qpid/cpp/src/qpid/broker/ThresholdAlerts.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'qpid/cpp/src') 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); } } } -- cgit v1.2.1