에러로그 항목 누락 수정
This commit is contained in:
@@ -31,18 +31,10 @@ public class ErrorLogApiController {
|
|||||||
@RequestParam(required = false) LocalDate endDate,
|
@RequestParam(required = false) LocalDate endDate,
|
||||||
@RequestParam int page,
|
@RequestParam int page,
|
||||||
@RequestParam(defaultValue = "20") int size) {
|
@RequestParam(defaultValue = "20") int size) {
|
||||||
try {
|
|
||||||
|
|
||||||
ErrorLogDto.ErrorSearchReq searchReq =
|
ErrorLogDto.ErrorSearchReq searchReq =
|
||||||
new ErrorLogDto.ErrorSearchReq(
|
new ErrorLogDto.ErrorSearchReq(
|
||||||
logErrorLevel, eventType, startDate, endDate, page, size, "created_dttm,desc");
|
logErrorLevel, eventType, startDate, endDate, page, size, "created_dttm,desc");
|
||||||
Page<ErrorLogDto.Basic> result = errorLogService.findLogByError(searchReq);
|
Page<ErrorLogDto.Basic> result = errorLogService.findLogByError(searchReq);
|
||||||
return ApiResponseDto.ok(result);
|
return ApiResponseDto.ok(result);
|
||||||
|
|
||||||
} catch (Exception e) {
|
|
||||||
e.printStackTrace();
|
|
||||||
}
|
|
||||||
|
|
||||||
return null;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -29,6 +29,7 @@ public class ErrorLogDto {
|
|||||||
private final LogErrorLevel errorLevel;
|
private final LogErrorLevel errorLevel;
|
||||||
private final String errorCode;
|
private final String errorCode;
|
||||||
private final String errorMessage;
|
private final String errorMessage;
|
||||||
|
private final String errorDetail;
|
||||||
private final String createDate; // to_char해서 가져옴
|
private final String createDate; // to_char해서 가져옴
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user