-
Type: Improvement
-
Resolution: Gone away
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Testing Infrastructure
-
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