opt:日志优化2
This commit is contained in:
@@ -25,7 +25,6 @@ public class AsyncLuceneAppender extends AspectLogbackAsyncAppender {
|
||||
if (mdcPropertyMap.getClass().getName().contains("SynchronizedMap")) {
|
||||
mdcPropertyMap.put("traceId", traceId);
|
||||
}
|
||||
MDC.clear();
|
||||
}
|
||||
super.append(event);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user