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

mongodump produces invalid bson when dumping to stdout in verbose mode

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.5.3
    • Affects Version/s: 2.4.6
    • Component/s: Logging, Tools
    • None
    • Environment:
      Ubuntu 12.04.3 x86_64
    • ALL
    • Hide

      (see description)

      Show
      (see description)

      First few lines of dump are actually log output:

      $ mongodump -u xxx -p xxx -d database -c collection -v --out - > collection.bson
      connected to: 127.0.0.1
      $ head -3 collection.bson
      Wed Sep 25 07:34:39.127 creating new connection to:127.0.0.1:27017
      Wed Sep 25 07:34:39.128 BackgroundJob starting: ConnectBG
      Wed Sep 25 07:34:39.128 connected connection!

            Assignee:
            sverch Shaun Verch
            Reporter:
            power Roman Kozlov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: