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

simplify log component BSON server parameter

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • 2.7.6
    • 2.7.5
    • Logging
    • Server 2.7.6

    Description

      Currently to configure a log component, you will need to specify a BSON document with the verbosity field:

      db.runCommand({setParameter: 1, logComponentVerbosity: {replication: {verbosity: 3}}})
      

      It would be desirable to replace the

      {verbosity: 3}

      subdocument with a single integer if we do not intend to configure any subcomponents of replication:

      db.runCommand({setParameter: 1, {logComponentVerbosity: {replication: 3}})
      

      Attachments

        Activity

          People

            benety.goh@mongodb.com Benety Goh
            benety.goh@mongodb.com Benety Goh
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: