diff options
Diffstat (limited to 'src/mongo/db/storage/mmap_v1/dur_recover.cpp')
-rw-r--r-- | src/mongo/db/storage/mmap_v1/dur_recover.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/storage/mmap_v1/dur_recover.cpp b/src/mongo/db/storage/mmap_v1/dur_recover.cpp index 15e7e994b38..835264ec864 100644 --- a/src/mongo/db/storage/mmap_v1/dur_recover.cpp +++ b/src/mongo/db/storage/mmap_v1/dur_recover.cpp @@ -345,7 +345,7 @@ void RecoveryJob::applyEntry(Last& last, const ParsedJournalEntry& entry, bool a ss << setw(2) << entry.e->getFileNo(); ss << ' ' << setw(6) << entry.e->len << ' ' << /*hex << setw(8) << (size_t) fqe.srcData << dec <<*/ - " " << hexdump(entry.e->srcData(), entry.e->len); + " " << redact(hexdump(entry.e->srcData(), entry.e->len)); log() << ss.str() << endl; } if (apply) { @@ -354,7 +354,7 @@ void RecoveryJob::applyEntry(Last& last, const ParsedJournalEntry& entry, bool a } else if (entry.op) { // a DurOp subclass operation if (dump) { - log() << " OP " << entry.op->toString() << endl; + log() << " OP " << redact(entry.op->toString()) << endl; } if (apply) { if (entry.op->needFilesClosed()) { |