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();