def set_logger_level(logger_name, log_level='error'):
 logging.getLogger(logger_name).setLevel(LOG_LEVELS.get(log_level.lower(), logging.ERROR))

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 loggers logging level .