diff --git a/log/log.go b/log/log.go index 31d83a4..f641c51 100644 --- a/log/log.go +++ b/log/log.go @@ -102,7 +102,7 @@ func SetupTraceIds(ctx context.Context) { With(TraceId, spanContext.TraceID().String()). With(CorrelationId, spanContext.TraceID().String()). With(SpanId, spanContext.SpanID().String()). - With(TraceFlags, spanContext.TraceFlags().String()) + With(TraceFlags, spanContext.TraceFlags().IsSampled()) } else if traceHeader := getTraceHeaderFromContext(ctx); traceHeader != nil { log = log. With(TraceId, traceHeader.TraceID).