diff options
| author | Alan Conway <aconway@apache.org> | 2009-07-09 20:38:31 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2009-07-09 20:38:31 +0000 |
| commit | 4894c47987354188fac0468f40a5ac37536d0347 (patch) | |
| tree | 29c5b70cb521e768e92c5e14e89b305a6f005a07 /qpid/cpp | |
| parent | f9ec4af75cca958b34abba34a2f5a07c5dd567a2 (diff) | |
| download | qpid-python-4894c47987354188fac0468f40a5ac37536d0347.tar.gz | |
Minor improvement to cluster logging.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@792677 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp')
| -rw-r--r-- | qpid/cpp/src/qpid/cluster/Cluster.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/qpid/cpp/src/qpid/cluster/Cluster.cpp b/qpid/cpp/src/qpid/cluster/Cluster.cpp index 467c960674..1984b4f4df 100644 --- a/qpid/cpp/src/qpid/cluster/Cluster.cpp +++ b/qpid/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 |
