diff options
author | Spencer Jackson <spencer.jackson@mongodb.com> | 2016-09-29 14:57:46 -0400 |
---|---|---|
committer | Spencer Jackson <spencer.jackson@mongodb.com> | 2016-10-07 18:11:59 -0400 |
commit | 4d825b60b071dfc166ce6a92ee71519af586a81b (patch) | |
tree | 189ca26cc94906e97baded9e6e4e3845e5a54e13 /src/mongo/db/ops | |
parent | 27d54a07d66ba4fd9758eec7db5d8b28e8c9ad5a (diff) | |
download | mongo-4d825b60b071dfc166ce6a92ee71519af586a81b.tar.gz |
SERVER-26325: Show redacted slow operation report when redaction enabled
Diffstat (limited to 'src/mongo/db/ops')
-rw-r--r-- | src/mongo/db/ops/write_ops_exec.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/ops/write_ops_exec.cpp b/src/mongo/db/ops/write_ops_exec.cpp index 1dc30e1aae4..cba843c9315 100644 --- a/src/mongo/db/ops/write_ops_exec.cpp +++ b/src/mongo/db/ops/write_ops_exec.cpp @@ -112,7 +112,7 @@ void finishCurOp(OperationContext* txn, CurOp* curOp) { if (logAll || logSlow) { Locker::LockerInfo lockerInfo; txn->lockState()->getLockerInfo(&lockerInfo); - log() << redact(curOp->debug().report(txn->getClient(), *curOp, lockerInfo.stats)); + log() << curOp->debug().report(txn->getClient(), *curOp, lockerInfo.stats); } if (curOp->shouldDBProfile(executionTimeMs)) { |