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

systemd service files should not start mongod with --quiet

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • 3.0.14, 3.2.11, 3.4.0
    • 3.4.6, 3.5.9
    • Packaging
    • None
    • Linux with systemd init
    • Minor Change
    • v3.4, v3.2, v3.0

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: