Add a task listener and task logger when add returns an id to attach to