Skip to content

Commit

Permalink
refactor(logger): 응답 요청 로깅에서 /actuator/prometheus 일 경우 제외
Browse files Browse the repository at this point in the history
  • Loading branch information
jminkkk committed Aug 8, 2024
1 parent 3300435 commit bcc4273
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,6 @@ private String getHeaderAndValue(ContentCachingResponseWrapper requestWrapper) {
@Override
protected boolean shouldNotFilter(HttpServletRequest request) {
String path = request.getRequestURI();
return path.contains("/swagger") || path.contains("/v3/api-docs");
return path.contains("/swagger") || path.contains("/v3/api-docs") || path.contains("/actuator/prometheus");
}
}

0 comments on commit bcc4273

Please sign in to comment.