Clean up config and allow access to the logger