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

"--quite" flag doesn't seem to do anything/still too verbose

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • 5.0.7
    • None
    • None
    • ALL
    • Hide

      The commands below show the latest version of mongod being run for 10 seconds before being quit then having the number of lines they emitted counted. Both produce 94 lines.
      ```bash

      callumgare@Meeka ~/r/porn-cache-new> docker run --rm --entrypoint=/usr/bin/timeout mongo:5.0.7 10 /usr/local/bin/docker-entrypoint.sh mongod | wc -l
            94
      callumgare@Meeka ~/r/porn-cache-new> docker run --rm --entrypoint=/usr/bin/timeout mongo:5.0.7 10 /usr/local/bin/docker-entrypoint.sh mongod --quiet | wc -l
            94

      ```

      Show
      The commands below show the latest version of mongod being run for 10 seconds before being quit then having the number of lines they emitted counted. Both produce 94 lines. ```bash callumgare@Meeka ~/r/porn-cache-new> docker run --rm --entrypoint=/usr/bin/timeout mongo:5.0.7 10 /usr/local/bin/docker-entrypoint.sh mongod | wc -l       94 callumgare@Meeka ~/r/porn-cache-new> docker run --rm --entrypoint=/usr/bin/timeout mongo:5.0.7 10 /usr/local/bin/docker-entrypoint.sh mongod --quiet | wc -l       94 ```

    Description

      As far as I can tell the "–quite" flag doesn't seem to make the logs any less verbose. When I spin up a new instance of the mongo docker image it produces a whole bunch of noise which makes it easy to mess logs which are actually important.

      Attachments

        Activity

          People

            chris.kelly@mongodb.com Chris Kelly
            callum@gare.com.au Callum Gare
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: