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

LOGV2 conversion merges unittest::log() lines with kDefault lines

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.7.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Dev Tools 2020-03-09, Service Arch 2020-04-06, Service arch 2020-04-20

      unittest::log() used to be a separable stream of data in unit tests.
      It happened to go to the kDefault component, but conceivably we could edit unittest::log() to redirect it elsewhere. The LOGV2 conversion gets rid of unittest::log() lines entirely, in such a way that they literally become kDefault log statements.

      We might want to produce a component just for unit test log statements.
      Log lines coming from the test itself are of a different nature than log lines coming from the code under test and the distinction is useful. Previously the filename would give some hint as to the statement's origin, but we could codify this with a component id to make filtering easier.

            Assignee:
            gabriel.russell@mongodb.com Gabriel Russell (Inactive)
            Reporter:
            billy.donahue@mongodb.com Billy Donahue
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: