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

single-character verbose configuration option in file

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial - P5
    • Resolution: Works as Designed
    • Affects Version/s: 2.4.10, 2.6.3
    • Fix Version/s: None
    • Component/s: Admin
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Steps To Reproduce:
      Hide

      $ cat mongod-v.conf
      v = true
       
      $ cat mongod-vv.conf
      vv = true

      $ mongodb-osx-x86_64-2.6.3/bin/mongod --config mongod-v.conf
      Error parsing INI config file: unknown option v
      [...]
       
      # works
      $ mongodb-osx-x86_64-2.6.3/bin/mongod --config mongod-vv.conf
      2014-06-20T23:21:49.061-0400 [DataFileSync] BackgroundJob starting: DataFileSync
      [...]

      $ mongodb-osx-x86_64-2.4.0/bin/mongod --config mongod-v.conf
      error command line: unknown option v
      use --help for help

      $ mongodb-osx-x86_64-2.6.3/bin/mongod -v
      2014-06-20T23:29:07.213-0400 [DataFileSync] BackgroundJob starting: DataFileSync
      [...]

      Show
      $ cat mongod-v.conf v = true   $ cat mongod-vv.conf vv = true $ mongodb-osx-x86_64-2.6.3/bin/mongod --config mongod-v.conf Error parsing INI config file: unknown option v [...]   # works $ mongodb-osx-x86_64-2.6.3/bin/mongod --config mongod-vv.conf 2014-06-20T23:21:49.061-0400 [DataFileSync] BackgroundJob starting: DataFileSync [...] $ mongodb-osx-x86_64-2.4.0/bin/mongod --config mongod-v.conf error command line: unknown option v use --help for help $ mongodb-osx-x86_64-2.6.3/bin/mongod -v 2014-06-20T23:29:07.213-0400 [DataFileSync] BackgroundJob starting: DataFileSync [...]
    • Sprint:
      Platforms 12 (04/01/16)

      Description

      2.6 Configuration Options cite compatibility with 2.4 options including the verbose family of options.

      Docs refer to v = true in the configuration file, however this doesn't seem to work in 2.6 or 2.4.

      Steps to reproduce included. Works fine as command-line argument.

      Documentation states "[mongod’s command line arguments or using a configuration file] are functionally equivalent".

      Previously: SERVER-11471.

        Attachments

          Activity

            People

            Assignee:
            mark.benvenuto Mark Benvenuto
            Reporter:
            daniel.medina Daniel Medina
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: