]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
mgr: Reduce logging noise when handling commands
authorSebastian Wagner <sebastian.wagner@suse.com>
Thu, 25 Jul 2019 09:22:12 +0000 (11:22 +0200)
committerSebastian Wagner <sebastian.wagner@suse.com>
Fri, 26 Jul 2019 12:06:35 +0000 (14:06 +0200)
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
src/mgr/DaemonServer.cc

index 806f023d1988a4a47aa0e0c9bea00e966580e47b..1145e27ca1bdc7072c59eb4eb39e330e48c6da1b 100644 (file)
@@ -711,7 +711,7 @@ public:
     }
 
     if (r == 0) {
-      dout(4) << __func__ << " success" << dendl;
+      dout(20) << "success" << dendl;
     } else {
       derr << __func__ << " " << cpp_strerror(r) << " " << rs << dendl;
     }
@@ -787,8 +787,7 @@ bool DaemonServer::_handle_command(
   string prefix;
   cmd_getval(cct, cmdctx->cmdmap, "prefix", prefix);
 
-  dout(4) << "decoded " << cmdctx->cmdmap.size() << dendl;
-  dout(4) << "prefix=" << prefix << dendl;
+  dout(10) << "decoded-size=" << cmdctx->cmdmap.size() << " prefix=" << prefix  << dendl;
 
   if (prefix == "get_command_descriptions") {
     dout(10) << "reading commands from python modules" << dendl;
@@ -2180,7 +2179,7 @@ bool DaemonServer::_handle_command(
     return true;
   }
 
-  dout(4) << "passing through " << cmdctx->cmdmap.size() << dendl;
+  dout(10) << "passing through " << cmdctx->cmdmap.size() << dendl;
   finisher.queue(new FunctionContext([this, cmdctx, handler_name, prefix](int r_) {
     std::stringstream ss;