summaryrefslogtreecommitdiff
path: root/src/mongo/db/stats
diff options
context:
space:
mode:
authorRamon Fernandez <ramon@mongodb.com>2016-08-27 15:18:19 -0400
committerRamon Fernandez <ramon@mongodb.com>2016-08-27 16:19:54 -0400
commitc5f891c37a7fabc2455f2f0230ec9bcd76b62096 (patch)
tree520f3969fe6983c8a722fa7c78fe897093922a17 /src/mongo/db/stats
parent76a32a783ca4328e9b01555fb05d02ff635d8c19 (diff)
downloadmongo-c5f891c37a7fabc2455f2f0230ec9bcd76b62096.tar.gz
SERVER-24991 log redaction for storage mongos
Diffstat (limited to 'src/mongo/db/stats')
-rw-r--r--src/mongo/db/stats/snapshots.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/stats/snapshots.cpp b/src/mongo/db/stats/snapshots.cpp
index 8acf20b7e7a..a9d31319d2b 100644
--- a/src/mongo/db/stats/snapshots.cpp
+++ b/src/mongo/db/stats/snapshots.cpp
@@ -109,7 +109,7 @@ void StatsSnapshotThread::run() {
try {
statsSnapshots.takeSnapshot();
} catch (std::exception& e) {
- log() << "ERROR in SnapshotThread: " << e.what() << endl;
+ log() << "ERROR in SnapshotThread: " << redact(e.what()) << endl;
}
sleepsecs(4);