使用MDCUtil方法

This commit is contained in:
wudashan 2018-04-21 14:34:27 +08:00
parent 57c8d0ced3
commit d36a9267c8

View File

@ -18,7 +18,7 @@ public class MDCRunnable implements Runnable {
public MDCRunnable(Runnable runnable) {
this.runnable = runnable;
// 保存当前线程的MDC值
this.map = MDC.getCopyOfContextMap();
this.map = MDCUtil.getCopyOfContextMap();
}
@Override