logging.warn()

logging.warn(msg, *args, **kwargs)

Log a message with severity ‘WARNING’ on the root logger.