From: Sage Weil Date: Wed, 13 Apr 2016 19:21:04 +0000 (-0400) Subject: osd/Watch: slightly more informative debug output X-Git-Tag: v10.2.0~24^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=8166042a2862b5307052faa5c00616e329703d35;p=ceph.git osd/Watch: slightly more informative debug output Signed-off-by: Sage Weil --- diff --git a/src/osd/Watch.cc b/src/osd/Watch.cc index dc665e02d09c..f4411baf7fee 100644 --- a/src/osd/Watch.cc +++ b/src/osd/Watch.cc @@ -360,10 +360,10 @@ void Watch::got_ping(utime_t t) void Watch::connect(ConnectionRef con, bool _will_ping) { if (conn == con) { - dout(10) << "connecting - already connected" << dendl; + dout(10) << __func__ << " con " << con << " - already connected" << dendl; return; } - dout(10) << "connecting" << dendl; + dout(10) << __func__ << " con " << con << dendl; conn = con; will_ping = _will_ping; OSD::Session* sessionref(static_cast(con->get_priv())); @@ -386,7 +386,7 @@ void Watch::connect(ConnectionRef con, bool _will_ping) void Watch::disconnect() { - dout(10) << "disconnect" << dendl; + dout(10) << "disconnect (con was " << conn << ")" << dendl; conn = ConnectionRef(); if (!will_ping) register_cb();