From 072ce948be1894a1fbaccf4accb0eb9788275bd9 Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Thu, 9 Jul 2009 20:38:31 +0000 Subject: Minor improvement to cluster logging. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@792677 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/cluster/Cluster.cpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'cpp/src/qpid') diff --git a/cpp/src/qpid/cluster/Cluster.cpp b/cpp/src/qpid/cluster/Cluster.cpp index 467c960674..1984b4f4df 100644 --- a/cpp/src/qpid/cluster/Cluster.cpp +++ b/cpp/src/qpid/cluster/Cluster.cpp @@ -434,13 +434,16 @@ void Cluster::processFrame(const EventFrame& e, Lock& l) { else if (state >= CATCHUP) { LATENCY_TRACK(LatencyScope ls(processLatency)); map.incrementFrameSeq(); - QPID_LOG(trace, *this << " DLVR " << map.getFrameSeq() << ": " << e); ConnectionPtr connection = getConnection(e, l); - if (connection) + if (connection) { + QPID_LOG(trace, *this << " DLVR " << map.getFrameSeq() << ": " << e); connection->deliveredFrame(e); + } + else + QPID_LOG(critical, *this << " FIXME DROP (no connection): " << e); } else // Drop connection frames while state < CATCHUP - QPID_LOG(trace, *this << " DROP: " << e); + QPID_LOG(trace, *this << " DROP (joining): " << e); } // Called in deliverFrameQueue thread -- cgit v1.2.1