]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
msg/async: make send debug line look like SimpleMessenger's
authorSage Weil <sage@redhat.com>
Thu, 22 Sep 2016 18:55:55 +0000 (14:55 -0400)
committerSage Weil <sage@redhat.com>
Thu, 22 Sep 2016 18:55:55 +0000 (14:55 -0400)
Signed-off-by: Sage Weil <sage@redhat.com>
src/msg/async/AsyncConnection.cc

index d31420c2c9bec6b249754ce62ce8d9292b4ac30b..c461c6010550db507241c4d8e1c39c25b3e67575 100644 (file)
@@ -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())