From 975fcd14d0fb8381ac80342e5403c30522c9a5b0 Mon Sep 17 00:00:00 2001 From: Laptop-Limjihoon Date: Sat, 16 Mar 2024 16:54:32 +0900 Subject: [PATCH 1/2] =?UTF-8?q?feat=20:=20application.yml=20=EC=97=90?= =?UTF-8?q?=EC=84=9C=20logging=20level=20=EC=9D=84=20error=20=EB=A1=9C=20?= =?UTF-8?q?=EC=84=A4=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/application.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 77bfa2cb..76080dbf 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -36,12 +36,19 @@ spring: host: ${REDIS_REPLICA_URL} repositories: enabled: false + # JWT jwt: secret: key: ${JWT_SECRET_KEY} -# s3 +# LOG +logging: + level: + bc1: + gream: warn + +# S3 cloud: aws: s3: From a6588bda0e647d99a2f57cc7130ac886b6352847 Mon Sep 17 00:00:00 2001 From: Laptop-Limjihoon Date: Sat, 16 Mar 2024 16:55:01 +0900 Subject: [PATCH 2/2] =?UTF-8?q?feat=20:=20JwtAuthFilter=20=EC=97=90?= =?UTF-8?q?=EC=84=9C=20accessToken=20info=20level=EB=A1=9C=20=EB=A1=9C?= =?UTF-8?q?=EA=B9=85=20=EC=A3=BC=EC=84=9D=EC=B2=98=EB=A6=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/bc1/gream/global/jwt/JwtAuthFilter.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/bc1/gream/global/jwt/JwtAuthFilter.java b/src/main/java/bc1/gream/global/jwt/JwtAuthFilter.java index af34a22f..028478c1 100644 --- a/src/main/java/bc1/gream/global/jwt/JwtAuthFilter.java +++ b/src/main/java/bc1/gream/global/jwt/JwtAuthFilter.java @@ -43,7 +43,8 @@ protected void doFilterInternal(HttpServletRequest request, HttpServletResponse throws ServletException, IOException { String accessToken = jwtUtil.getTokenWithoutBearer(request.getHeader(ACCESS_TOKEN_HEADER)); - log.info("accessToken : {}", accessToken); + // accessToken 에 대한 로깅 + // log.info("accessToken : {}", accessToken); // access token 비어있으면 인증 미처리 if (!StringUtils.hasText(accessToken)) {