add legacy shell --quiet test

XMLWordPrintableJSON

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

      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
            Reporter:
            Eric Milkie
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: