diff options
author | Eliot Horowitz <eliot@10gen.com> | 2010-10-24 10:40:25 -0400 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2010-10-24 10:40:25 -0400 |
commit | 7237cd308dd0050389fc44ca021dd8f262af0505 (patch) | |
tree | 8af9d3fe6032bdae4334b8a40cf8b88c19434d3e /tools | |
parent | 8f4624a917b97787270b43ebe24aa7e1db9c10b1 (diff) | |
download | mongo-7237cd308dd0050389fc44ca021dd8f262af0505.tar.gz |
when mongostat in discover mode turn off verbose socket logging
Diffstat (limited to 'tools')
-rw-r--r-- | tools/stat.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/stat.cpp b/tools/stat.cpp index 1cf108cfd5c..3e38256fdb7 100644 --- a/tools/stat.cpp +++ b/tools/stat.cpp @@ -351,6 +351,7 @@ namespace mongo { static void serverThread( shared_ptr<ServerState> state ){ try { DBClientConnection conn( true ); + conn._logLevel = 1; string errmsg; if ( ! conn.connect( state->host , errmsg ) ) state->error = errmsg; |