cleanup trace logger