Cleaned up logging and config example