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

Stop logging hooks to fixture logs

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.9.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • STM 2021-03-22, STM 2021-04-05
    • 1

      Hook loggers have fixture loggers as parents, so when report.py overrides the logger with a newly-constructed testcase logger, the new logger double-logs to both the fixture logs and the the hook's dedicated test logs.

      SERVER-52677 solved this for the CheckReplDBHashInBackground hook by using the testqueue logger, but we should expand the solution to other hooks.

            Assignee:
            siran.wang@mongodb.com Siran Wang (Inactive)
            Reporter:
            carl.worley@mongodb.com Raiden Worley (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: