summaryrefslogtreecommitdiff
path: root/src/mongo/client/dbclient_rs.cpp
diff options
context:
space:
mode:
authorBenety Goh <benety@mongodb.com>2014-08-08 11:08:17 -0400
committerBenety Goh <benety@mongodb.com>2014-08-12 18:56:41 -0400
commit8a523f3bfd6e32cb6882d38e4eeff6adb6ea27c1 (patch)
treed934dad83af8d8564f98732d26eeb0a69404e361 /src/mongo/client/dbclient_rs.cpp
parent850d2d0912e519e544f0c896583a6fbd5cceabce (diff)
downloadmongo-8a523f3bfd6e32cb6882d38e4eeff6adb6ea27c1.tar.gz
SERVER-14729 assign default log component MONGO_LOG_DEFAULT_COMPONENT
Diffstat (limited to 'src/mongo/client/dbclient_rs.cpp')
-rw-r--r--src/mongo/client/dbclient_rs.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/client/dbclient_rs.cpp b/src/mongo/client/dbclient_rs.cpp
index 0f0e78a8c90..7b5789c8a20 100644
--- a/src/mongo/client/dbclient_rs.cpp
+++ b/src/mongo/client/dbclient_rs.cpp
@@ -25,6 +25,8 @@
* then also delete it in the license file.
*/
+#define MONGO_LOG_DEFAULT_COMPONENT ::mongo::logger::LogComponent::kNetworking
+
#include "mongo/platform/basic.h"
#include "mongo/client/dbclient_rs.h"
@@ -42,8 +44,6 @@
namespace mongo {
- MONGO_LOG_DEFAULT_COMPONENT_FILE(::mongo::logger::LogComponent::kNetworking);
-
namespace {
/*