Add log for tracing