tresql logging moved to tresql