register trace writer