-
Type: Bug
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
Currently, import/export tools (mongoimport, mongoexport, mongodump, and mongorestore) called with the --quiet option also suppresses all error messages. For example:
$ mongoimport -d test -c test --host <unreachable host> test.json 2017-03-30T11:00:46.287+1100 Failed: error connecting to db server: no reachable servers $ mongoimport -d test -c test --host <unreachable host> --quiet test.json (no error message printed to the console)
As a result, if a user runs the import/export tools from the console, it could fail silently without notifying the user.
- duplicates
-
TOOLS-156 fix log levels in the tools
- Accepted