log which task is being destroyed