From: Rishabh Dave Date: Thu, 8 Aug 2024 17:18:03 +0000 (+0530) Subject: mon/MgrMontitor: add log entry to support debugging X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=5c59df841d75d7032288ad5a504f15a6a7df6312;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 (cherry picked from commit 4374ac74d283ce1c50616330a0127a53623d96c3) --- diff --git a/src/mon/MgrMonitor.cc b/src/mon/MgrMonitor.cc index c1a59657a2e2..7a331c67e6f0 100644 --- a/src/mon/MgrMonitor.cc +++ b/src/mon/MgrMonitor.cc @@ -1346,6 +1346,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!";