clean up logging in preparation for testing