|
|
@ -42,14 +42,14 @@ public abstract class BaseRequestLogAspect { |
|
|
String requestURI = request.getRequestURI(); |
|
|
String requestURI = request.getRequestURI(); |
|
|
|
|
|
|
|
|
long id = Thread.currentThread().getId(); |
|
|
long id = Thread.currentThread().getId(); |
|
|
Result result = null; |
|
|
Object result = null; |
|
|
Exception exception = null; |
|
|
Exception exception = null; |
|
|
LocalDateTime startTime = LocalDateTime.now(); |
|
|
LocalDateTime startTime = LocalDateTime.now(); |
|
|
|
|
|
|
|
|
try { |
|
|
try { |
|
|
Object[] args = point.getArgs(); |
|
|
Object[] args = point.getArgs(); |
|
|
log.info(">>>>>>>>请求信息>>>>>>>>:线程ID:{},url:{},请求参数:{}", id, requestURI, objectsToString(args)); |
|
|
log.info(">>>>>>>>请求信息>>>>>>>>:线程ID:{},url:{},请求参数:{}", id, requestURI, objectsToString(args)); |
|
|
result = (Result)point.proceed(); |
|
|
result = point.proceed(); |
|
|
} catch (RenException e) { |
|
|
} catch (RenException e) { |
|
|
exception = e; |
|
|
exception = e; |
|
|
result = handleRenException(e); |
|
|
result = handleRenException(e); |
|
|
|