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

systemd service files should not start mongod with --quiet

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 3.0.14, 3.2.11, 3.4.0
    • Fix Version/s: 3.4.6, 3.5.9
    • Component/s: Packaging
    • Labels:
      None
    • Environment:
      Linux with systemd init
    • Backwards Compatibility:
      Minor Change
    • Backport Requested:
      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

            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: