Currently needed data such as spanId and traceId already logs, but sleuth also ads a lot of useless data do the MDC and since I'am using MDC quite heavily I really don't need al this excess data to be in the logs, is there a way to stop Sleuth from writing data to MDC?
Asked
Active
Viewed 111 times
0
-
The spanId and the traceId are in the logs because of the MDC. What do you mean by lot of useless data? – Jonatan Ivanov Aug 25 '22 at 23:50
-
@JonatanIvanov I mean that it also logs duplicated trace and spend ids and some other fields that I rather not see in my logs – agingcabbage32 Aug 26 '22 at 15:43