From: Kefu Chai Date: Tue, 31 Mar 2020 07:32:58 +0000 (+0800) Subject: crimson/mon: do not print error log at seeing unknown connection X-Git-Tag: wip-pdonnell-testing-20200918.022351~1665^2~1 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=a84be334610c2541f13a7446474f6c99778cc06f;p=ceph-ci.git crimson/mon: do not print error log at seeing unknown connection it happens if a client or an peer osd drops the connection, so it's not an error and hence we should not print this error message using "error()". Signed-off-by: Kefu Chai --- diff --git a/src/crimson/mon/MonClient.cc b/src/crimson/mon/MonClient.cc index 00180370137..87712b17aea 100644 --- a/src/crimson/mon/MonClient.cc +++ b/src/crimson/mon/MonClient.cc @@ -556,7 +556,6 @@ seastar::future<> Client::ms_handle_reset(crimson::net::ConnectionRef conn) active_con.reset(); return reopen_session(-1); } else { - logger().error("unknown reset from {}", conn->get_peer_addr()); return seastar::now(); } }