mongoexport verbose logging echoes to stdout

XMLWordPrintableJSON

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

      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
              Reporter:
              Y. Wayne Huang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: