Fixed the logger.