From: Rishabh Dave Date: Thu, 8 Aug 2024 17:18:03 +0000 (+0530) Subject: mon/MgrMontitor: add log entry to support debugging X-Git-Tag: v20.0.0~782^2~4 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=4374ac74d283ce1c50616330a0127a53623d96c3;p=ceph.git mon/MgrMontitor: add log entry to support debugging It becomes easier to understand logs when whether command succeeded or not are also logged. Signed-off-by: Rishabh Dave --- diff --git a/src/mon/MgrMonitor.cc b/src/mon/MgrMonitor.cc index 1960f8a2c0bf..26262a1c393e 100644 --- a/src/mon/MgrMonitor.cc +++ b/src/mon/MgrMonitor.cc @@ -1320,6 +1320,7 @@ bool MgrMonitor::prepare_command(MonOpRequestRef op) if (!pending_map.modules.count(module)) { ss << "module '" << module << "' is not enabled"; } + dout(8) << __func__ << " disabling module " << module << " from new " << dendl; pending_map.modules.erase(module); } else { ss << "Command '" << prefix << "' not implemented!";