def METHOD_NAME(app):
    """
    Configure logs.
    This method will return the logger
    """
    # soft logging
    try:
        # TODO:FIXME:CCAMACHO
        # Having the logger in the console will make it explode
        basicConfig(filename='error.log', level=ERROR)
        logger = getLogger()
        logger.disabled = True
        # logger.addHandler(StreamHandler())
    except Exception:
        pass