Uploaded image for project: 'MongoDB Database Tools'
  1. MongoDB Database Tools
  2. TOOLS-5

mongodump --out - removes many information messages

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: Legacy C++ Implementation
    • Component/s: mongodump

      When using the mongodump option --out - to emit to stdout (for piping somewhere presumably) many of the regular informational messages, such as number of documents, also disappear.

      When using any other variation of -o (file or default), informational messages indicate how many documents are dumped in each collection. This is very useful information.

      A single message is piped to stderr indicating the connection attempt. The other default informational messages could therefore be emitted on stderr too (when using -o -), and users can opt for --quiet (existing option) to suppress these if needed.

            Unassigned Unassigned
            ian@mongodb.com Ian Whalen (Inactive)
            1 Vote for this issue
            3 Start watching this issue