fixed logging for traceview/data files