def set_logger_level(logger_name, log_level='error'):
    logging.getLogger(logger_name).setLevel(
        LOG_LEVELS.get(log_level.lower(), logging.ERROR)
    )
Tweak a specific logger's logging level
dataset/ETHPy150Open saltstack/salt/salt/log/setup.py/set_logger_level