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

mongoexport verbose logging echoes to stdout

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Duplicate
    • Affects Version/s: 1.8.2
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Operating System:
      ALL

      Description

      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

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: