[SERVER-47697] Make logger:: typedefs to logv2::LogSeverity, logv2::LogComponent, etc Created: 22/Apr/20 Updated: 29/Oct/23 Resolved: 24/Apr/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Logging |
| Affects Version/s: | None |
| Fix Version/s: | 4.4.1, 4.7.0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Billy Donahue | Assignee: | Billy Donahue |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||
| Backport Requested: |
v4.4
|
||||||||||||
| Sprint: | Service arch 2020-05-04 | ||||||||||||
| Participants: | |||||||||||||
| Description |
|
The logger and logv2 namespaces have separate but identical implementations of LogSeverity, LogComponent, and LogComponentSettings. This causes pain in logv2 upgrades because we have to cast back and forth and it's unclear whether the namespaces are significant (they aren't). Move the tests for these types into the logv2/ directory. After doing so, there are no more relevant logger/log_test.cpp tests, so a number of logger files can be eliminated and we won't have to maintain them anymore. |
| Comments |
| Comment by Githook User [ 02/May/20 ] |
|
Author: {'name': 'Billy Donahue', 'email': 'billy.donahue@mongodb.com', 'username': 'BillyDonahue'}Message:
(cherry picked from commit 7b1053b738c3c6b0c634e39bf8f70a66fffc1ee0) |
| Comment by Githook User [ 23/Apr/20 ] |
|
Author: {'name': 'Billy Donahue', 'email': 'billy.donahue@mongodb.com', 'username': 'BillyDonahue'}Message:
|
| Comment by Billy Donahue [ 22/Apr/20 ] |