Updated project to use logging.