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

Tools share server code with different logging rules

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Gone away
    • Affects Version/s: Legacy C++ Implementation
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      For tools, --quiet has ambiguous behavior, since tools cannot manage output logged by shared server code.

      This should not cause corruption, as far as we know, since all logged messages will be redirected to stderr in the case where data is written to stdout.

      > mongoexport --db test --collection test --dbpath /data/db --quiet --out output.json

      expect no output to stdout or stderr, instead see in stdout:

      dbexit: 2013-10-29T16:26:09.031-0400 [tools] shutdown: going to close listening sockets...
      2013-10-29T16:26:09.031-0400 [tools] shutdown: going to flush diaglog...
      2013-10-29T16:26:09.032-0400 [tools] shutdown: going to close sockets...
      2013-10-29T16:26:09.032-0400 [tools] shutdown: waiting for fs preallocator...
      2013-10-29T16:26:09.032-0400 [tools] shutdown: closing all files...
      2013-10-29T16:26:09.032-0400 [tools] closeAllFiles() finished
      2013-10-29T16:26:09.032-0400 [tools] shutdown: removing fs lock...

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              ian.whalen Ian Whalen
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: