add delete log and log the delete phase