referring to quesition/answer in How to log MDC with Spring Sleuth?
I think this has/will change(d) with spring-cloud 2.0 as there is no SpanLogger
or Slf4jSpanLogger
anymore (or I don't find it)
Wouldn't it be nice if application properties spring.sleuth.baggage-keys
and spring.sleuth.propagation-keys
if set would also be put in MDC I think inside Slf4jCurrentTraceContext
(as this class is currently final
I cannot subclass it)
If not, how could I achieve this with spring-cloud 2.0 accordingly?