From: Sage Weil Date: Thu, 22 Sep 2016 18:55:55 +0000 (-0400) Subject: msg/async: make send debug line look like SimpleMessenger's X-Git-Tag: v11.0.1~114^2~3 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=68f2158cdb101b54a962f1da4e5407afec2d0a18;p=ceph.git msg/async: make send debug line look like SimpleMessenger's Signed-off-by: Sage Weil --- diff --git a/src/msg/async/AsyncConnection.cc b/src/msg/async/AsyncConnection.cc index d31420c2c9be..c461c6010550 100644 --- a/src/msg/async/AsyncConnection.cc +++ b/src/msg/async/AsyncConnection.cc @@ -1851,7 +1851,12 @@ void AsyncConnection::accept(ConnectedSocket socket, entity_addr_t &addr) int AsyncConnection::send_message(Message *m) { - ldout(async_msgr->cct, 1) << " == tx == " << m << " " << *m << dendl; + lgeneric_subdout(async_msgr->cct, ms, + 1) << "-- " << async_msgr->get_myaddr() << " --> " + << get_peer_addr() << " -- " + << *m << " -- " << m << " con " + << m->get_connection().get() + << dendl; // optimistic think it's ok to encode(actually may broken now) if (!m->get_priority())