Commit 77db7d8f authored by yanzg's avatar yanzg

修复异常提醒,从而正确的跟踪异常信息

parent 3551b9d5
......@@ -42,11 +42,9 @@ public class AspectLogStart {
try {
String fullUrl = String.format("%s:%s", tag, url);
logCountTime.start(fullUrl);
String body = aspectLogBody.getBodyString(requestBody);
if (logFlag) {
this.logLocal.startLog(log, tag, String.format("%s:%s", this.cloudConfig.getApplicationName(), url), body);
}
this.logLocal.startLog(log, tag, String.format("%s:%s", this.cloudConfig.getApplicationName(), url), body);
boolean isLog = logFlag && this.cloudConfig.isLogCommon();
if (isLog) {
Log.info(cls, " %s [ %s ] request: %s", tag, url, body);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment