micrometer-metrics / tracing

Provides tracing abstractions over tracers and tracing system reporters.
https://micrometer.io
Apache License 2.0
252 stars 46 forks source link

feign-micrometer dependency break log feature #829

Closed abccbaandy closed 2 months ago

abccbaandy commented 2 months ago

Spring boot 3.2.5 Spring cloud 2023.0.1 feign-micrometer 13.2.1

I am adding trace id feature to my feign.

After I added feign-micrometer to the project, the trace id success sent to other service.

But now the log doesn't print at all.

Without the feign-micrometer, it works fine.

My log config

    @Bean
    Logger.Level feignLoggerLevel() {
        return Logger.Level.FULL;
    }
logging.level.MyFeignClass=debug

Is there anything I need to do to make both trace id & log work together?