Skip to content

Commit

Permalink
feat: log content 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
redcarrot1 committed Sep 9, 2024
1 parent a96fcd5 commit 671e6da
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ private void logRequest(HttpServletRequest request) {
String bearerToken = request.getHeader(HttpHeaders.AUTHORIZATION);
log.info("Request : {} uri=[{}] content-type=[{}] token=[{}]",
request.getMethod(),
queryString == null ? request.getRequestURI() : request.getRequestURI() + "?" + queryString,
queryString == null || queryString.isEmpty() ? request.getRequestURI() : request.getRequestURI() + "?" + queryString,
request.getContentType(),
bearerToken);
}
Expand Down

0 comments on commit 671e6da

Please sign in to comment.