summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2009-07-09 20:38:31 +0000
committerAlan Conway <aconway@apache.org>2009-07-09 20:38:31 +0000
commit072ce948be1894a1fbaccf4accb0eb9788275bd9 (patch)
treeb12289c73bcffd49642186f7876f1ef4406fd312 /cpp
parent0c5ace5d2114d638bdef5f4c2e29521c43f140a4 (diff)
downloadqpid-python-072ce948be1894a1fbaccf4accb0eb9788275bd9.tar.gz
Minor improvement to cluster logging.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@792677 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp')
-rw-r--r--cpp/src/qpid/cluster/Cluster.cpp9
1 files changed, 6 insertions, 3 deletions
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