summaryrefslogtreecommitdiff
path: root/s/d_state.cpp
diff options
context:
space:
mode:
authorMathias Stearn <mathias@10gen.com>2011-08-08 17:37:04 -0400
committerMathias Stearn <mathias@10gen.com>2011-08-08 19:52:56 -0400
commit0e20be567e38e835d8a2df17ba030391bbbb00ee (patch)
tree856d6403d5011aa6a9e9bacaa6e3f8c0ad8a5120 /s/d_state.cpp
parent0045301af9f756c6ef6de83373e502c1fa281a88 (diff)
downloadmongo-0e20be567e38e835d8a2df17ba030391bbbb00ee.tar.gz
use LOG(x) everywhere in mongos
Diffstat (limited to 's/d_state.cpp')
-rw-r--r--s/d_state.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/s/d_state.cpp b/s/d_state.cpp
index 764e976c1ea..f43865b222e 100644
--- a/s/d_state.cpp
+++ b/s/d_state.cpp
@@ -288,7 +288,7 @@ namespace mongo {
ShardedConnectionInfo* ShardedConnectionInfo::get( bool create ) {
ShardedConnectionInfo* info = _tl.get();
if ( ! info && create ) {
- log(1) << "entering shard mode for connection" << endl;
+ LOG(1) << "entering shard mode for connection" << endl;
info = new ShardedConnectionInfo();
_tl.reset( info );
}
@@ -316,7 +316,7 @@ namespace mongo {
void ShardedConnectionInfo::addHook() {
static bool done = false;
if (!done) {
- log(1) << "adding sharding hook" << endl;
+ LOG(1) << "adding sharding hook" << endl;
pool.addHook(new ShardingConnectionHook(false));
done = true;
}