Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-3577

mongoexport verbose logging echoes to stdout

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: 1.8.2
    • Component/s: None
    • ALL

      when using mongoexport -v, the additional logging is echoed to stdout. one typically assumes verbose logging will be sent to stderr, particularly when the data being exported is echoed to stdout.

      to reproduce:
      mongoexport -v -d mydb -c mycoll --csv | tee mycoll.txt

      expected:
      mycoll.txt contains only the header line and exported data

      actual:
      mycoll.txt contains -v output, header line and exported data

            Assignee:
            Unassigned Unassigned
            Reporter:
            wayne530 Y. Wayne Huang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: