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

remove redundant logv2/ header inclusions

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Server Programmability
    • Fully Compatible
    • Programmability 2025-02-17
    • None
    • 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@mongodb.com Billy Donahue
            Reporter:
            billy.donahue@mongodb.com Billy Donahue
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              None
              None
              None
              None