Correlation ids were working fine in a Spring Boot 3.0.2 + Spring Cloud Gateway application with micrometer-tracing.
After upgrading to any of the following releases of Spring Boot they don't show up in the logs any more.
I tried using the updated micrometer tracing dependencies in the 3.0.2 and still worked so it must be something related to Spring Boot, not Micrometer.
Any ideas?
Right now you need to add it manually, e.g.:
logging.pattern.level=%5p [${spring.application.name:},%X{traceId:-},%X{spanId:-}]
See in our samples. We have an issue for that: https://github.com/spring-projects/spring-boot/issues/33280