提交 0720f0eb 编写于 作者: Z zhangjidi2016

[ISSUE #2538]Optimize log output when message trace saving fails

上级 1fbccd14
......@@ -370,7 +370,7 @@ public class AsyncTraceDispatcher implements TraceDispatcher {
@Override
public void onException(Throwable e) {
log.info("send trace data ,the traceData is " + data);
log.error("send trace data failed, the traceData is {}", data, e);
}
};
if (traceBrokerSet.isEmpty()) {
......@@ -398,7 +398,7 @@ public class AsyncTraceDispatcher implements TraceDispatcher {
}
} catch (Exception e) {
log.info("send trace data,the traceData is" + data);
log.error("send trace data failed, the traceData is {}", data, e);
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册