Corrected the logger.