Fix the tests and remove some old settings
Simplify the logging configuration
Configure logging before doing (much) else