Add a flag to hide startup warnings

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 2.5.6
    • Affects Version/s: None
    • Component/s: CLI Module
    • None
    • Needed
    • Hide

      The mongosh CLI accepts a new --skipStartupWarnings parameter. If it is set, mongosh will not print server startup warnings when creating the session (similar to --quiet but more narrowly scoped).

      Show
      The mongosh CLI accepts a new --skipStartupWarnings parameter. If it is set, mongosh will not print server startup warnings when creating the session (similar to --quiet but more narrowly scoped).
    • Developer Tools

      In MongoDB University labs, we tend to run mongod on containers. We have no access to the host.

      The warnings are not relevant to our learners so we would like to hide them, just like it is done when connecting to a local Atlas environment (MONGOSH-1776)

              Assignee:
              Davenson Lombard
              Reporter:
              Davenson Lombard
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: