Stop logging hooks to fixture logs

XMLWordPrintableJSON

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

      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 (Inactive)
              Reporter:
              Raiden Worley (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: