Commit 676c00cc authored by yanzg's avatar yanzg

不记录系统日志

parent 00b03e8d
...@@ -208,7 +208,9 @@ public class BaseRequestAspect { ...@@ -208,7 +208,9 @@ public class BaseRequestAspect {
if (isLog) { if (isLog) {
Log.error(joinPoint.getSignature().getDeclaringType(), resultEx, "%s [ %s ] time %d ms, result: %s", Log.error(joinPoint.getSignature().getDeclaringType(), resultEx, "%s [ %s ] time %d ms, result: %s",
tag, name, time, getMaxString(JsonHelper.serialize(responseResult))); tag, name, time, getMaxString(JsonHelper.serialize(responseResult)));
logLocal.result(log, name, responseResult.getCode(), JsonHelper.serialize(responseResult)); if (log != null) {
logLocal.result(log, name, responseResult.getCode(), JsonHelper.serialize(responseResult));
}
} }
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace(); e.printStackTrace();
......
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