summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands.cpp
diff options
context:
space:
mode:
authorBenety Goh <benety@mongodb.com>2014-06-03 14:37:01 -0400
committerBenety Goh <benety@mongodb.com>2014-06-04 21:03:13 -0400
commitfff5d13830e44fbca742ad6c61239f439864ae29 (patch)
tree0605fe66526b7cb31444d9dd2d0997749fd13cd3 /src/mongo/db/commands.cpp
parent64e3b85a7c8a4a6ea7c68f25ae27780c702cdfb5 (diff)
downloadmongo-fff5d13830e44fbca742ad6c61239f439864ae29.tar.gz
SERVER-14116 logging cleanup - removed out()
Diffstat (limited to 'src/mongo/db/commands.cpp')
-rw-r--r--src/mongo/db/commands.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/commands.cpp b/src/mongo/db/commands.cpp
index ed487950309..01153cf5323 100644
--- a/src/mongo/db/commands.cpp
+++ b/src/mongo/db/commands.cpp
@@ -271,7 +271,7 @@ namespace mongo {
void Command::logIfSlow( const Timer& timer, const string& msg ) {
int ms = timer.millis();
if (ms > serverGlobalParams.slowMS) {
- out() << msg << " took " << ms << " ms." << endl;
+ log() << msg << " took " << ms << " ms." << endl;
}
}