From 7391a901df965cbebf7efe6b7f3828afc3d1260b Mon Sep 17 00:00:00 2001 From: Kim Min-Woo <107420002+kmw2378@users.noreply.github.com> Date: Thu, 4 Jul 2024 17:43:02 +0900 Subject: [PATCH] =?UTF-8?q?[refactor]=20=EB=A9=94=ED=8A=B8=EB=A6=AD=20?= =?UTF-8?q?=EB=A1=9C=EA=B9=85=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../kakaoshare/backend/logging/filter/LoggingFilter.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/org/kakaoshare/backend/logging/filter/LoggingFilter.java b/src/main/java/org/kakaoshare/backend/logging/filter/LoggingFilter.java index 51469302..a1786d63 100644 --- a/src/main/java/org/kakaoshare/backend/logging/filter/LoggingFilter.java +++ b/src/main/java/org/kakaoshare/backend/logging/filter/LoggingFilter.java @@ -50,10 +50,10 @@ protected void doFilterInternal(final HttpServletRequest request, final FilterChain filterChain) throws ServletException, IOException { final ContentCachingRequestWrapper cachingRequest = new ContentCachingRequestWrapper(request); final ContentCachingResponseWrapper cachingResponse = new ContentCachingResponseWrapper(response); - final String requestURI = cachingRequest.getRequestURI(); - if (requestURI.contains(METRIC_URL_PREFIX) || requestURI.contains(FAVICON_URL)) { - return; - } + // final String requestURI = cachingRequest.getRequestURI(); + // if (requestURI.contains(METRIC_URL_PREFIX) || requestURI.contains(FAVICON_URL)) { + // return; + // } apiTimer.start(); filterChain.doFilter(cachingRequest, cachingResponse);