From 0406c5c68452150182f600d88c1ffd5f6ca30f1b Mon Sep 17 00:00:00 2001 From: namhyo01 Date: Thu, 19 Oct 2023 03:40:50 +0900 Subject: [PATCH] =?UTF-8?q?fix(BE):=20log=EC=B6=94=EA=B0=80=20-=20?= =?UTF-8?q?=EA=B0=9C=EB=B0=9C=20=EC=84=9C=EB=B2=84=20=EB=B0=98=EC=98=81=20?= =?UTF-8?q?=ED=9B=84=20=EA=B2=B0=EA=B3=BC=20=ED=8C=8C=EC=95=85=20#114?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/example/api/auth/handler/MyLogoutSuccessHandler.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/com/example/api/auth/handler/MyLogoutSuccessHandler.java b/src/main/java/com/example/api/auth/handler/MyLogoutSuccessHandler.java index d691d81..44b1785 100644 --- a/src/main/java/com/example/api/auth/handler/MyLogoutSuccessHandler.java +++ b/src/main/java/com/example/api/auth/handler/MyLogoutSuccessHandler.java @@ -26,10 +26,12 @@ public class MyLogoutSuccessHandler implements LogoutSuccessHandler { @Override public void onLogoutSuccess(HttpServletRequest request, HttpServletResponse response, Authentication authentication) throws IOException, ServletException { //로그 아웃 성공시 ok 보내자 + log.info("welcome logout success handler"); Cookie[] cookies = request.getCookies(); if(cookies != null) { for (Cookie cookie : request.getCookies()) { String cookieName = cookie.getName(); + log.info(cookieName); if(cookieName.equals("access_token")){ String accessToken = cookie.getValue(); log.info("access_token : {}", accessToken);