fix full link tracing log printed in observer.log

This commit is contained in:
nroskill
2023-03-31 15:14:52 +00:00
committed by ob-robot
parent 81d0e384bb
commit 0e22eb2aae
7 changed files with 17 additions and 14 deletions

View File

@ -265,7 +265,9 @@ namespace sql
LOG_WARN("failed to deserialize full link trace extra info",
KP(buf), K(ret), K(pos), K(v_len));
} else {
_OBTRACE_LOG(INFO, "%s", drv_span.span_info_.ptr());
PRINT_WITH_TRACE_MODE(FLT, INFO, [&] {
_FLT_LOG(INFO, "%s", drv_span.span_info_.ptr());
}());
}
break;
}