Author: gsim
Date: Fri Apr 15 17:38:26 2011
New Revision: 1092772

URL: http://svn.apache.org/viewvc?rev=1092772&view=rev
Log:
QPID-3204: Add logging for queue threshold events

Modified:
    qpid/trunk/qpid/cpp/src/qpid/broker/ThresholdAlerts.cpp

Modified: qpid/trunk/qpid/cpp/src/qpid/broker/ThresholdAlerts.cpp
URL: 
http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/qpid/broker/ThresholdAlerts.cpp?rev=1092772&r1=1092771&r2=1092772&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/src/qpid/broker/ThresholdAlerts.cpp (original)
+++ qpid/trunk/qpid/cpp/src/qpid/broker/ThresholdAlerts.cpp Fri Apr 15 17:38:26 
2011
@@ -97,6 +97,7 @@ void ThresholdAlerts::enqueued(const Que
             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);
         }
     }
 }



---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:commits-subscr...@qpid.apache.org

Reply via email to