From 67c6bb1249ea99b432e1deea1b0b5aace9010dd1 Mon Sep 17 00:00:00 2001 From: "Jonguk. Lim" Date: Thu, 12 Sep 2024 16:22:07 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20JPA=20query=20=EB=A1=9C=EA=B9=85=20?= =?UTF-8?q?=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/cokr/xit/ens/core/aop/AccessLogAspect.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/cokr/xit/ens/core/aop/AccessLogAspect.java b/src/main/java/cokr/xit/ens/core/aop/AccessLogAspect.java index 55baa6e..7f8d10a 100644 --- a/src/main/java/cokr/xit/ens/core/aop/AccessLogAspect.java +++ b/src/main/java/cokr/xit/ens/core/aop/AccessLogAspect.java @@ -10,7 +10,6 @@ import javax.servlet.http.*; import org.aspectj.lang.*; import org.aspectj.lang.annotation.*; import org.springframework.beans.factory.annotation.Value; -import org.springframework.boot.autoconfigure.condition.*; import org.springframework.context.*; import org.springframework.http.*; import org.springframework.stereotype.*; @@ -371,7 +370,7 @@ public class AccessLogAspect { } // FIXME: JPA 쿼리 로그 출력 코드 추가 - @ConditionalOnProperty(value = "app.jpa.logging.enabled", havingValue = "true", matchIfMissing = false) + //@ConditionalOnProperty(value = "app.jpa.logging.enabled", havingValue = "true", matchIfMissing = false) @Around("execution(* org.springframework.data.repository.CrudRepository+.*(..))") public Object logJpaQuery(ProceedingJoinPoint joinPoint) throws Throwable { String methodName = joinPoint.getSignature().getDeclaringType().getSimpleName() + "." + joinPoint.getSignature().getName();