remove redundant logv2/ header inclusions

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Server Programmability
    • Fully Compatible
    • Programmability 2025-02-17
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      After IWYU, the codebase is loaded with files that include log.h and also include private logv2 headers that are meant to be exported by the main log.h public header.

      These includes are redundant and should be removed, so that the logv2 library presents a simple interface for the majority of users.

      Now that I have a script to perform this kind of operation (for SERVER-100575), it's easily doable.
      https://github.com/10gen/employees/blob/master/home/billy.donahue/remove_private_includes_logv2.py

            Assignee:
            Billy Donahue
            Reporter:
            Billy Donahue
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: