def METHOD_NAME():
    log_url = None
    while not log_url or log_url == old_log_url:
        log_url = get_log_url()
        sleep(10)
    logger.warning("Trying to fetch build logs")
    stream_logs(client.deployments, resource_group, service,
                app, deployment, logger_level_func=print)