def set_logger_level(logger_name, log_level='error'):
    logging.getLogger(logger_name).setLevel(
        LOG_LEVELS.get(log_level.lower(), logging.ERROR)
    )
This also manages action groups
dataset/ETHPy150Open saltstack/salt/salt/log/setup.py/set_logger_level--crossover with--dataset/ETHPy150Open lsaffre/lino/lino/modlib/extjs/ext_renderer.py/ExtRenderer.toolbar