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

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

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 5.0.7
    • Component/s: None
    • Labels:
      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 ```

      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.

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

              Created:
              Updated:
              Resolved: