simplify log component BSON server parameter

XMLWordPrintableJSON

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

      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
            Reporter:
            Benety Goh
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: