make tracing logging work in debug builds