def set_module_log_level(modules=None, log_level=logging.WARNING):
    """
        This will raise the log level for the given modules
        in general this is used to silence them
    :param modules:     list of str of module names ex. ['requests']
    :param log_level:   str of the new log level
    :return:            None
    """
    modules = modules or []
    if not isinstance(modules, list):
        modules = [modules]
    for module in modules:
        logging.getLogger(module).setLevel(logging.WARNING)
def set_module_log_level(modules=None, log_level=logging.WARNING):
    """
        This will raise the log level for the given modules
        in general this is used to silence them
    :param modules:     list of str of module names ex. ['requests']
    :param log_level:   str of the new log level
    :return:            None
    """
    modules = modules or []
    if not isinstance(modules, list):
        modules = [modules]
    for module in modules:
        logging.getLogger(module).setLevel(logging.WARNING)
def set_module_log_level ( modules = None , log_level = logging . WARNING ) : modules = modules or [ ] if not isinstance ( modules , list ) : modules = [ modules ] for module in modules : logging . getLogger ( module ) . setLevel ( logging . WARNING )
This will raise the log level for the given modules
        in general this is used to silence them
    :param modules:     list of str of module names ex. ['requests']
    :param log_level:   str of the new log level
    :return:            None
This will raise the log level for the given modules in general this is used to silence them : param modules : list of str of module names ex . [ requests ] : param log_level : str of the new log level : return : None