Add a warn logging.