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

systemd service files should not start mongod with --quiet

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.4.6, 3.5.9
    • Affects Version/s: 3.0.14, 3.2.11, 3.4.0
    • Component/s: Packaging
    • Labels:
      None
    • Environment:
      Linux with systemd init
    • Minor Change
    • v3.4, v3.2, v3.0

      Both the rpm/mongod.service and debian/mongod.service systemd service files start mongod with the --quiet command line option.

      This is inappropriate because quiet mode is a user preference that, if desired, should be enabled in the config file. The older init scripts, including the init.d and upstart styles, start mongod with just the config file option (and have always done so). Thus the systemd service files should also start mongod with just the config file option.

      Having --quiet enabled by default like this means that valuable information about connection lifetimes is absent from logfiles, which can impede diagnosis of issues.

            Assignee:
            kevin.pulo@mongodb.com Kevin Pulo
            Reporter:
            kevin.pulo@mongodb.com Kevin Pulo
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: