logging.basicConfig is now only called when running the test suite so it doesn't change the global settings for logging on import