Skip to content

Commit

Permalink
Merge pull request #364 from jminkkk/chore/remove_actuator_log
Browse files Browse the repository at this point in the history
응답 요청 로깅에서 /actuator/prometheus 일 경우 제외
  • Loading branch information
jminkkk authored Aug 8, 2024
2 parents 3300435 + bcc4273 commit d37022d
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 d37022d

Please sign in to comment.