"""View to show records from Log table."""
    route_base = "/log"
    datamodel = AirflowModelView.CustomSQLAInterface(Log)  
    class_permission_name = permissions.RESOURCE_AUDIT_LOG
    method_permission_name = {
        "list": "read",
    }
    base_permissions = [
        permissions.ACTION_CAN_READ,
        permissions.ACTION_CAN_ACCESS_MENU,
    ]
    list_columns = ["id", "dttm", "dag_id", "task_id", "event", "execution_date", "owner", "extra"]
    search_columns = ["dttm", "dag_id", "task_id", "event", "execution_date", "owner", "extra"]
    label_columns = {
        "execution_date": "Logical Date",
    }
    base_order = ("dttm", "desc")
    base_filters = [["dag_id", DagFilter, list]]
    formatters_columns = {
        "dttm": wwwutils.datetime_f("dttm"),
        "execution_date": wwwutils.datetime_f("execution_date"),
        "dag_id": wwwutils.dag_link,
    }
class TaskRescheduleModelView(AirflowModelView):