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

add legacy shell --quiet test

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.2.0-rc0
    • Affects Version/s: None
    • Component/s: Logging
    • None
    • Fully Compatible
    • Security 2022-11-14, Security 2022-11-28

      Internally within MongoDB we have several scripts that make use of the legacy shell and parse its output. The scripts use the --quiet command line parameter to stop the shell from intermixing log output with the output from javascript execution.
      The behavior of --quiet is fairly brittle and is easy to unintentionally break. To help mitigate this, it would be useful to add a simple Javascript test that runs the shell with --quiet and ensures that the output contains no extra log lines.

            Assignee:
            shreyas.kalyan@mongodb.com Shreyas Kalyan
            Reporter:
            milkie@mongodb.com Eric Milkie
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: