use ‘%T’ instead of ‘%x’, to avoid log4j NDC failure. https://github.com/wu-sheng/sky-walking/issues/77
This commit is contained in:
parent
e801e45b2d
commit
3c92217b4d
|
|
@ -13,7 +13,7 @@ public class TraceIdPatternParser extends PatternParser {
|
|||
|
||||
@Override
|
||||
protected void finalizeConverter(char c) {
|
||||
if ('x' == c) {
|
||||
if ('T' == c) {
|
||||
addConverter(new TraceIdPatternConverter());
|
||||
} else {
|
||||
super.finalizeConverter(c);
|
||||
|
|
|
|||
Loading…
Reference in New Issue