Uploaded image for project: 'MongoDB Database Tools'
  1. MongoDB Database Tools
  2. TOOLS-331

Mongodump logs seem to be missing new lines

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Trivial - P5
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: mongodump
    • Labels:
      None

      Description

      using version 2.7.7:

      Sample log line: https://github.com/mongodb/mongo-tools/blob/master/mongodump/metadata_dump.go#L64

      dgottlieb@keylime /mnt/data0$ mongodump -d database -c collection
      2014-11-03T11:41:18.462-0500	writing database.collection to dump/database/collection.bson
      2014-11-03T11:41:18.462-0500	writing database.collection metadata to dump/database/collection.metadata.json
      Warning: no metadata found for collection: `database.collection`: not founddgottlieb@keylime /mnt/data0$

      Looking through the other log lines in `mongodump` reveals similarly formatted strings. I haven't checked other tools.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            daniel.gottlieb Daniel Gottlieb
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: