diff options
author | Eliot Horowitz <eliot@10gen.com> | 2012-10-01 00:32:18 -0400 |
---|---|---|
committer | Eric Milkie <milkie@10gen.com> | 2012-11-06 15:41:16 -0500 |
commit | 5493d59afcc142ec870bac56e9ad654872fdce5d (patch) | |
tree | 913f14d4574cb136c5717f642772fded3dba6bee | |
parent | 843a10ca71808a4be340d38912979c7265aa9908 (diff) | |
download | mongo-5493d59afcc142ec870bac56e9ad654872fdce5d.tar.gz |
SERVER-7204 - reduce spam in balancer shard selection log() to LOG(1)
-rw-r--r-- | src/mongo/s/balancer_policy.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/s/balancer_policy.cpp b/src/mongo/s/balancer_policy.cpp index 1cbb1796462..4842e7f4b05 100644 --- a/src/mongo/s/balancer_policy.cpp +++ b/src/mongo/s/balancer_policy.cpp @@ -82,12 +82,12 @@ namespace mongo { for ( ShardInfoMap::const_iterator i = _shardInfo.begin(); i != _shardInfo.end(); ++i ) { if ( i->second.isSizeMaxed() || i->second.isDraining() || i->second.hasOpsQueued() ) { - log() << i->first << " is unavailable" << endl; + LOG(1) << i->first << " is unavailable" << endl; continue; } if ( ! i->second.hasTag( tag ) ) { - log() << i->first << " doesn't have right tag" << endl; + LOG(1) << i->first << " doesn't have right tag" << endl; continue; } |