From 53d607f735c139464ac3565edc4d2e4bb970653c Mon Sep 17 00:00:00 2001 From: Rishabh Dave Date: Thu, 8 Aug 2024 22:48:03 +0530 Subject: [PATCH] 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) --- src/mon/MgrMonitor.cc | 1 + 1 file changed, 1 insertion(+) 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!"; -- 2.47.3