summaryrefslogtreecommitdiff
path: root/src/mongo/db/run_commands.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/run_commands.cpp')
-rw-r--r--src/mongo/db/run_commands.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/run_commands.cpp b/src/mongo/db/run_commands.cpp
index 41adbdfb507..9068b8c9adb 100644
--- a/src/mongo/db/run_commands.cpp
+++ b/src/mongo/db/run_commands.cpp
@@ -62,7 +62,7 @@ void runCommands(OperationContext* txn,
}
LOG(2) << "run command " << request.getDatabase() << ".$cmd" << ' '
- << c->getRedactedCopyForLogging(request.getCommandArgs());
+ << redact(c->getRedactedCopyForLogging(request.getCommandArgs()));
{
// Try to set this as early as possible, as soon as we have figured out the command.