Refactor the common/log
tests to not depend on common/harnessLog
. common/harnessLog
was not ideally suited for general testing and made all the tests quite awkward. Instead, move all code used to test the common/log
module into the logTest
module and repurpose common/harnessLog
to do log expect testing for all other tests in a cleaner way. Add a few exceptions for config testing since the log levels are reset by default in config/parse
.
Add