summaryrefslogtreecommitdiff
path: root/src/mongo/db/restapi.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/restapi.cpp
parent64e3b85a7c8a4a6ea7c68f25ae27780c702cdfb5 (diff)
downloadmongo-fff5d13830e44fbca742ad6c61239f439864ae29.tar.gz
SERVER-14116 logging cleanup - removed out()
Diffstat (limited to 'src/mongo/db/restapi.cpp')
-rw-r--r--src/mongo/db/restapi.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/restapi.cpp b/src/mongo/db/restapi.cpp
index 1653bdd4822..e6a33c4fd11 100644
--- a/src/mongo/db/restapi.cpp
+++ b/src/mongo/db/restapi.cpp
@@ -116,7 +116,7 @@ namespace mongo {
responseCode = 400;
headers.push_back( "X_err: bad request" );
ss << "don't know how to handle a [" << method << "]";
- out() << "don't know how to handle a [" << method << "]" << endl;
+ log() << "don't know how to handle a [" << method << "]" << endl;
}
if( html )