[SERVER-18985] setParameter should log at level 0 Created: 16/Jun/15 Updated: 05/Dec/18 Resolved: 30/Oct/18 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Diagnostics, Internal Code |
| Affects Version/s: | None |
| Fix Version/s: | 3.4.19, 3.6.9, 4.0.4, 4.1.5 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Kevin Pulo | Assignee: | Kevin Pulo |
| Resolution: | Done | Votes: | 4 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||||||
| Backport Requested: |
v4.0, v3.6, v3.4
|
||||||||||||||||||||||||
| Sprint: | Sharding 2017-12-04, Sharding 2018-01-01, Sharding 2017-12-18 | ||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||
| Case: | (copied to CRM) | ||||||||||||||||||||||||
| Description |
|
setParameter is used to modify a variety of server settings, many of which can have a marked impact on server behaviour and/or performance. Thus, in the context of analysing a logfile, it is vital to be aware of any changes to such parameters. Since setParameter normally runs very fast, it will only be logged if logLevel is >= 1. It would be much better if the setParameter command was logged at the default log level of 0. Two likely ways this could be done are either:
|
| Comments |
| Comment by Githook User [ 05/Dec/18 ] |
|
Author: {'name': 'Kevin Pulo', 'email': 'kevin.pulo@mongodb.com', 'username': 'devkev'}Message: Manual backport of 4d8c956efe27360e8b6828ee62fd3df3ad8f5710 |
| Comment by Githook User [ 30/Oct/18 ] |
|
Author: {'name': 'Kevin Pulo', 'email': 'kevin.pulo@mongodb.com', 'username': 'devkev'}Message: (cherry picked from commit 4d8c956efe27360e8b6828ee62fd3df3ad8f5710) |
| Comment by Githook User [ 30/Oct/18 ] |
|
Author: {'name': 'Kevin Pulo', 'email': 'kevin.pulo@mongodb.com', 'username': 'devkev'}Message: (cherry picked from commit 4d8c956efe27360e8b6828ee62fd3df3ad8f5710) |
| Comment by Githook User [ 30/Oct/18 ] |
|
Author: {'name': 'Kevin Pulo', 'email': 'kevin.pulo@mongodb.com', 'username': 'devkev'}Message: |
| Comment by Kevin Pulo [ 16/Jun/15 ] |
|
The most common manifestation of this is when setting logLevel (see |