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

Top-level logging infra in resmoke module for all subcommands

    • Server Tooling & Methods
    • 2

      After SERVER-46769 resmoke will begin supporting various sub-commands. For now each subcommand implements its own logging infrastructure. We should move this up so that the resmoke module creates loggers for all subcommands. 

      For context, resmoke.py with optparse does have a single top-level logging config, but it is specific to resmoke and would not work with other subcommands, such as the hang-analyzer subcommand which will be added in SERVER-46684. The work in SERVER-46769 moves the resmoke.py logging into the impl of the 'run' subcommand.

      Other similar areas to consider:

      • Exiting - resmoke has some special behavior that needs to be reasoned about if when moving exit() to the resmoke.py module

            Assignee:
            backlog-server-stm Backlog - Server Tooling and Methods (STM) (Inactive)
            Reporter:
            vlad.rachev@mongodb.com Vlad Rachev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: