return config file options in getCmdLineOpts

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Minor - P4
    • 1.9.1
    • Affects Version/s: None
    • Component/s: Admin
    • None
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Return another element with the config file options in addition to the direct command line options.

      > db.runCommand("getCmdLineOpts")
      {
      "argv" : [
      "/usr/bin/mongos",
      "--logpath",
      "/var/log/mongodb/mongos.log",
      "--fork",
      "--config",
      "/etc/mongos.conf"
      ],
      "/etc/mongos.conf" : [
      ....
      ]
      "ok" : 1
      }

              Assignee:
              Matt Dannenberg (Inactive)
              Reporter:
              Scott Hernandez (Inactive)
              Votes:
              2 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: