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

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

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.4.1, 4.7.0
    • Component/s: Logging
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Backport Requested:
      v4.4
    • Sprint:
      Service arch 2020-05-04

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: