add log support by tracer

add log support by tracer