使用MDCUtil方法
This commit is contained in:
parent
57c8d0ced3
commit
d36a9267c8
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user