Skip to content

Commit

Permalink
[#4] JWT Filter logging 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
jun108059 committed Oct 18, 2021
1 parent b6b3999 commit 3fc75e2
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ public JwtAuthFilter(JwtTokenProvider tokenProvider) {
public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain)
throws IOException, ServletException {
HttpServletRequest httpServletRequest = (HttpServletRequest) request;

log.info("URI : [{}] , Method : [{}]", httpServletRequest.getRequestURI(), httpServletRequest.getMethod());

String jwt = resolveToken(httpServletRequest);
String requestURI = httpServletRequest.getRequestURI();

Expand Down

0 comments on commit 3fc75e2

Please sign in to comment.