Uploaded image for project: 'MongoDB ETL Tools'
  1. MongoDB ETL Tools
  2. TOOLS-1639

Using --quiet in import/export tools suppresses all error messages

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                gabriel.russell Gabriel Russell
                Reporter:
                kevin.adistambha Kevin Adistambha
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: