Fix to logger.