Removed redundant logger and config setup.