[SERVER-81948] Omit DDL oplog entry log messages when in quiet mode Created: 06/Oct/23 Updated: 13/Nov/23 Resolved: 13/Nov/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.3.0-rc0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Matthew Kim | Assignee: | Kaitlin Mahar |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Assigned Teams: |
Replication
|
| Backwards Compatibility: | Fully Compatible |
| Sprint: | Repl 2023-10-16, Repl 2023-10-30, Repl 2023-11-13, Repl 2023-11-27 |
| Participants: |
| Description |
|
In Original request:
|
| Comments |
| Comment by Matthew Kim [ 13/Nov/23 ] |
|
kaitlin.mahar@mongodb.com Thanks! And no, we don't have a specific mongod version we need this change in. |
| Comment by Githook User [ 13/Nov/23 ] |
|
Author: {'name': 'Kaitlin Mahar', 'email': 'kaitlin.mahar@mongodb.com', 'username': 'kmahar'}Message: |
| Comment by Matthew Kim [ 11/Oct/23 ] |
|
kaitlin.mahar@mongodb.com Yes, not emitting these logs when quiet: true is set would be perfect for us! |
| Comment by Matthew Kim [ 09/Oct/23 ] |
|
Hi kaitlin.mahar@mongodb.com , thanks for the update. I'm not too familiar with how logging works in mongod. We run mongod with `quiet: true` - would putting these messages into a separate log component potentially let us filter out these logs with `quiet: true`? Based on documentation I'm seeing, I'm not sure what disabling a log component would look like (it only seems like we can set verbosity for log components?), and I'm also not sure how we could go about excluding info-level messages (seems like the lowest verbosity, 0, will just exclude debug messages). Let me know if I'm misunderstanding anything. |
| Comment by Kaitlin Mahar [ 06/Oct/23 ] |
|
Note these log messages were introduced by |