Commit b4c25ca1 authored by yanzg's avatar yanzg

不记录系统日志

parent 8563fbdf
...@@ -42,10 +42,8 @@ public class FeignAspect extends BaseRequestAspect { ...@@ -42,10 +42,8 @@ public class FeignAspect extends BaseRequestAspect {
boolean clear = requestLogInit(); boolean clear = requestLogInit();
long start = System.currentTimeMillis(); long start = System.currentTimeMillis();
String url = getMethodUrl(joinPoint); String url = getMethodUrl(joinPoint);
if (clear) { log = startLog(TAG, url, getRequestBody(joinPoint));
log = startLog(TAG, url, getRequestBody(joinPoint)); clear = clear && log != null;
clear = clear && log != null;
}
if (clear) { if (clear) {
Log.threadBegin(); Log.threadBegin();
start = requestLog(TAG, clear, joinPoint); start = requestLog(TAG, clear, joinPoint);
......
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