logger module refactor
Closed this issue · 0 comments
opalmer commented
Refactor pyfarm.core.logger
fix some inconsistencies and reduce the amount of custom setup we're doing by default. This should include:
- Migration to dictConfig to simplify configuration. This should probably should read a configuration dict either from the environment or from a json path in an environment variable.
- Warning message redirection
- Minimal root logger setup in logger.py (should be handled by loggerDict)
- logger.getLogger should only append PyFarm's root logger name: pyfarm
- colorized log formatting (again, dictConfig should set this up)