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

mongodump outputs to the error stream instead to to stdio

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Works as Designed
    • Affects Version/s: 4.0.5
    • Fix Version/s: None
    • Component/s: mongodump
    • Labels:
      None
    • Environment:
      Linux - Ubuntu / Debian

      Description

      Given on my daily cron should not output any on mongodump, but if there is a  an error I should receive en e-mail. Right now, I do not know if it is really an error or a wrong output stream.

      For example:  
      mongodump --username backup --password pass --out=test > test.log 2> test.err.log

      As you can see, there is no error, but mongodump.log is empty and the attached mongodump.err.log has verbose information and it is not correct.

       

       

        Attachments

        1. test.err.log
          49 kB
        2. test.log
          0.1 kB

          Activity

            People

            • Assignee:
              daniel.hatcher Daniel Hatcher
              Reporter:
              patrikx3 Patrik Laszlo
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: