def set_level(name, level):

    logger = use(name)
    if logger:
        logger.setLevel(level)
Get a content type of object connected to form in TemplateRegistry
dataset/ETHPy150Open IceCTF/ctf-platform/api/api/logger.py/set_level--crossover with--dataset/ETHPy150Open opennode/nodeconductor/nodeconductor/template/forms.py/TemplateForm.get_content_type