From 3a41ef4e32ee641238465d8fea85810715ba4a01 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Tue, 1 Sep 2015 21:15:07 -0400 Subject: [PATCH] ms/async: log message tx/rx at level 1 Signed-off-by: Sage Weil --- src/msg/async/AsyncConnection.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/msg/async/AsyncConnection.cc b/src/msg/async/AsyncConnection.cc index 97bb17ab20d..b0433e81f88 100644 --- a/src/msg/async/AsyncConnection.cc +++ b/src/msg/async/AsyncConnection.cc @@ -841,6 +841,8 @@ void AsyncConnection::process() in_seq.set(message->get_seq()); ldout(async_msgr->cct, 10) << __func__ << " got message " << message->get_seq() << " " << message << " " << *message << dendl; + ldout(async_msgr->cct, 1) << " == rx == " << message << " " << *message + << dendl; // if send_message always successfully send, it may have no // opportunity to send seq ack. 10 is a experience value. @@ -1921,6 +1923,8 @@ void AsyncConnection::accept(int incoming) int AsyncConnection::send_message(Message *m) { ldout(async_msgr->cct, 10) << __func__ << " m=" << m << dendl; + ldout(async_msgr->cct, 1) << " == tx == " << m << " " << *m + << dendl; // optimistic think it's ok to encode(actually may broken now) if (!m->get_priority())