diff options
author | Rishabh Dave <ridave@redhat.com> | 2024-08-08 19:18:03 +0200 |
---|---|---|
committer | Rishabh Dave <ridave@redhat.com> | 2024-10-19 13:25:59 +0200 |
commit | 4374ac74d283ce1c50616330a0127a53623d96c3 (patch) | |
tree | 71705b704bb9d8f4f49970280a0b990005386199 | |
parent | mon/MgrMonitor: improve a log message (diff) | |
download | ceph-4374ac74d283ce1c50616330a0127a53623d96c3.tar.xz ceph-4374ac74d283ce1c50616330a0127a53623d96c3.zip |
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 <ridave@redhat.com>
-rw-r--r-- | src/mon/MgrMonitor.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mon/MgrMonitor.cc b/src/mon/MgrMonitor.cc index 1960f8a2c0b..26262a1c393 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!"; |