diff options
author | Aaron <aaron@10gen.com> | 2009-05-18 14:45:37 -0400 |
---|---|---|
committer | Aaron <aaron@10gen.com> | 2009-05-18 14:45:37 -0400 |
commit | 6c0692a9000df2b525b4d414005c5512d9df588e (patch) | |
tree | 6ab67a7e49b82cf7730fd134229bd26a921a96d7 /tools/Tool.cpp | |
parent | e57cb387c4588b3ec9ff1cf04e60124237b32e95 (diff) | |
download | mongo-6c0692a9000df2b525b4d414005c5512d9df588e.tar.gz |
tool log 'connected' message to stderr
Diffstat (limited to 'tools/Tool.cpp')
-rw-r--r-- | tools/Tool.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/Tool.cpp b/tools/Tool.cpp index b53b214795d..3f273c86417 100644 --- a/tools/Tool.cpp +++ b/tools/Tool.cpp @@ -64,7 +64,7 @@ int mongo::Tool::main( int argc , char ** argv ){ return -1; } - cout << "connected to: " << host << endl; + cerr << "connected to: " << host << endl; if ( _params.count( "db" ) ) _db = _params["db"].as<string>(); |