def _update_biolinux_log(env, target, flavor):
    if not target:
        target = env.get("target", None)
        if not target:
            target = "unknown"
        else:
            target = target.name
    if not flavor:
        flavor = env.get("flavor", None)
        if not flavor:
            flavor = "unknown"
        else:
            flavor = flavor.name
    logfn = "/var/log/biolinux.log"
    info = "Target="+target+"; Flavor="+flavor
    env.logger.info(info)
    if env.use_sudo:
        env.safe_sudo("date +\"%D %T - Updated "+info+"\" >> "+logfn)
LoadUpdateAction migration should create a CaseIndex if a parent tag is given
dataset/ETHPy150Open chapmanb/cloudbiolinux/cloudbio/utils.py/_update_biolinux_log--crossover with--dataset/ETHPy150Open dimagi/commcare-hq/corehq/apps/app_manager/tests/test_extension_case.py/LoadUpdateActionMigrationTests.test_parent_tag