]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
mgr/MgrClient: reduce log level when issuing a command when not connected
authorJason Dillaman <dillaman@redhat.com>
Fri, 25 Jan 2019 01:07:35 +0000 (20:07 -0500)
committerJason Dillaman <dillaman@redhat.com>
Fri, 25 Jan 2019 13:39:10 +0000 (08:39 -0500)
The mgr client will eventually connect and issue the command so it's not
necessary to spam the logs at level 0.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/mgr/MgrClient.cc

index 5a9541d32aacadcbc4ed754ebb984c3b408f05ed..6a61317aa06d8c8400d49a012f798b31f1ae123a 100644 (file)
@@ -436,7 +436,7 @@ int MgrClient::start_command(const vector<string>& cmd, const bufferlist& inbl,
     auto m = op.get_message({});
     session->con->send_message2(std::move(m));
   } else {
-    ldout(cct, 0) << "no mgr session (no running mgr daemon?), waiting" << dendl;
+    ldout(cct, 5) << "no mgr session (no running mgr daemon?), waiting" << dendl;
   }
   return 0;
 }