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

Stop logging hooks to fixture logs

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.9.0
    • Component/s: None
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Sprint:
      STM 2021-03-22, STM 2021-04-05
    • Story Points:
      1

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              siran.wang Siran Wang
              Reporter:
              carl.worley Raiden Worley
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: