Move logtrace to utilites