[SERVER-15045] simplify log component BSON server parameter Created: 26/Aug/14  Updated: 14/Oct/15  Resolved: 28/Aug/14

Status: Closed
Project: Core Server
Component/s: Logging
Affects Version/s: 2.7.5
Fix Version/s: 2.7.6

Type: Improvement Priority: Minor - P4
Reporter: Benety Goh Assignee: Benety Goh
Resolution: Done Votes: 1
Labels: community-team
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-14416 support use of BSON configuring sever... Closed
Related
related to SERVER-15486 Improve setParameter logComponentVerb... Closed
is related to DOCS-3694 Document named logging Closed
Sprint: Server 2.7.6
Participants:

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



 Comments   
Comment by Githook User [ 28/Aug/14 ]

Author:

{u'username': u'benety', u'name': u'Benety Goh', u'email': u'benety@mongodb.com'}

Message: SERVER-15045 extend logComponentVerbosity to support less verbose BSON format for log component severity
Branch: master
https://github.com/mongodb/mongo/commit/ac6b4eac9d1fc33d357ee9264e4508f8a564d89d

Generated at Thu Feb 08 03:36:45 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.