Skip to content

Commit 4374ac7

Browse files
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 <[email protected]>
1 parent e830f89 commit 4374ac7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/mon/MgrMonitor.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1320,6 +1320,7 @@ bool MgrMonitor::prepare_command(MonOpRequestRef op)
13201320
if (!pending_map.modules.count(module)) {
13211321
ss << "module '" << module << "' is not enabled";
13221322
}
1323+
dout(8) << __func__ << " disabling module " << module << " from new " << dendl;
13231324
pending_map.modules.erase(module);
13241325
} else {
13251326
ss << "Command '" << prefix << "' not implemented!";

0 commit comments

Comments
 (0)