Configure global log level to given one
    :param level: Level (INFO | DEBUG | WARN | ERROR)
    :return:

def configure_logging(level):
    """
    Configure global log level to given one
    :param level: Level (INFO | DEBUG | WARN | ERROR)
    :return:
    """

    global logging_level
    logging_level = logging.ERROR
    if "info" == level.lower():
        logging_level = logging.INFO
    elif "warn" == level.lower():
        logging_level = logging.WARNING
    elif "debug" == level.lower():
        logging_level = logging.DEBUG