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

simplify log component BSON server parameter

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 2.7.6
    • Affects Version/s: 2.7.5
    • Component/s: Logging
    • Labels:
    • Server 2.7.6

      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}})
      

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

              Created:
              Updated:
              Resolved: