Automatic traces from tracing doesn't match with MDC traces

Good Morning, I am using ecs structured logging (logging.structured.format.console=ecs) and io.micrometer:micrometer-tracing-bridge-brave with a Spring boot 3.4.2 .

My trace from trace.id is coming from MDC and traceId added automatically from micrometer-tracing-bridge-brave. But they have different values.
I am not sure if there is a way to correlate both traces and which should be as the main one.

Thank you very much!

To my knowledge the spring structured logging mechanism you are referring to doesn't rely on our ecs-logging library, it just uses the ECS output format.

Therefore I think it would be best for you to ask the spring folks instead.