Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-47697

Make logger:: typedefs to logv2::LogSeverity, logv2::LogComponent, etc

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.4.1, 4.7.0
    • Affects Version/s: None
    • Component/s: Logging
    • None
    • Fully Compatible
    • v4.4
    • Service arch 2020-05-04

      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.

            Assignee:
            billy.donahue@mongodb.com Billy Donahue
            Reporter:
            billy.donahue@mongodb.com Billy Donahue
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: