Remove the logger.