use ‘%T’ instead of ‘%x’, to avoid log4j NDC failure. https://github.com/wu-sheng/sky-walking/issues/77

This commit is contained in:
wusheng 2016-12-30 17:45:36 +08:00
parent e801e45b2d
commit 3c92217b4d
1 changed files with 1 additions and 1 deletions

View File

@ -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);