mirror of
https://github.com/zongzibinbin/MallChat.git
synced 2026-03-18 17:16:42 +08:00
@@ -23,6 +23,7 @@ public class HttpTraceIdFilter implements Filter {
|
|||||||
String tid = UUID.randomUUID().toString();
|
String tid = UUID.randomUUID().toString();
|
||||||
MDC.put(MDCKey.TID, tid);
|
MDC.put(MDCKey.TID, tid);
|
||||||
chain.doFilter(request, response);
|
chain.doFilter(request, response);
|
||||||
|
MDC.remove(MDCKey.TID);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user