Skip to content

Commit

Permalink
clean up logs
Browse files Browse the repository at this point in the history
  • Loading branch information
grabdoc committed Mar 8, 2025
1 parent 538fe97 commit a1c0364
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ public class DatabaseContextRequestInterceptor implements AsyncHandlerIntercepto

@Override
public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) {
log.info("Pre handle - {}", request.getRequestURI());
log.info("White listed : {}", isWhileListed(request.getRequestURI()));
log.debug("Pre handle - {}", request.getRequestURI());


if (!isWhileListed(request.getRequestURI())) {
final Map<String, String> pathVariables = (Map<String, String>) request
Expand Down
4 changes: 2 additions & 2 deletions auth/src/main/java/com/homihq/db2rest/auth/AuthFilter.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@ protected void doFilterInternal(
final FilterChain filterChain
) throws ServletException, IOException {

log.info("Handling Auth - {}", authProvider);
log.debug("Handling Auth");

String requestUri = urlPathHelper.getRequestUri(request);
String method = request.getMethod();

log.info("Request URI - {}", requestUri);
log.debug("Request URI - {}", requestUri);

if (!authProvider.isExcluded(requestUri, method)) {

Expand Down

0 comments on commit a1c0364

Please sign in to comment.