feat - 日志截断

This commit is contained in:
wangli 2024-08-29 10:10:52 +08:00
parent b483c0aa94
commit 6c0a500847

View File

@ -43,7 +43,7 @@ public class RequestLog {
Object proceed = joinPoint.proceed();
stopWatch.stop();
log.info("[response]返回记录: latency = {} responseParam = {}", stopWatch.getTotalTimeMillis(),
JSONUtil.toJsonStr(proceed));
JSONUtil.toJsonStr(proceed).substring(0,1000));
return proceed;
}
}