Updated to new logger.