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: v19.2.3~227^2~3 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=53d607f735c139464ac3565edc4d2e4bb970653c;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 18017107b39..f5c51a34b47 100644 --- a/src/mon/MgrMonitor.cc +++ b/src/mon/MgrMonitor.cc @@ -1366,6 +1366,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!";