From cd352f3ca9f7794554c9a1d6154d7d0312906a70 Mon Sep 17 00:00:00 2001 From: seokjin8678 Date: Sat, 16 Dec 2023 16:19:10 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20info=20=EB=A0=88=EB=B2=A8=EC=97=90?= =?UTF-8?q?=EC=84=9C=20warn=20=EB=A1=9C=EA=B7=B8=20=EC=B6=9C=EB=A0=A5=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/kotlin/kr/galaxyhub/sc/api/common/ExceptionHandler.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/kr/galaxyhub/sc/api/common/ExceptionHandler.kt b/src/main/kotlin/kr/galaxyhub/sc/api/common/ExceptionHandler.kt index 17da41f..0d5c9ee 100644 --- a/src/main/kotlin/kr/galaxyhub/sc/api/common/ExceptionHandler.kt +++ b/src/main/kotlin/kr/galaxyhub/sc/api/common/ExceptionHandler.kt @@ -43,7 +43,7 @@ class ExceptionHandler : ResponseEntityExceptionHandler() { when (e.logLevel) { LogLevel.ERROR -> log.error(e) { "[🔴ERROR] - (${request.method} ${request.requestURI})" } LogLevel.WARN -> log.warn(e) { "[🟠WARN] - (${request.method} ${request.requestURI})" } - LogLevel.INFO -> log.warn(e) { "[🔵INFO] - (${request.method} ${request.requestURI})" } + LogLevel.INFO -> log.info(e) { "[🔵INFO] - (${request.method} ${request.requestURI})" } LogLevel.DEBUG -> log.debug(e) { "[🟢DEBUG] - (${request.method} ${request.requestURI})" } } return ResponseEntity(ApiResponse.error(e.message!!), e.httpStatus)