Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions lib/applicationinsights.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,6 @@
"key": "http.url",
"value": "https?://[^/]+/health.*",
"matchType": "regexp"
},
{
"key": "http.url",
"value": "https?://[^/]+/metrics.*",
"matchType": "regexp"
}
],
"percentage": 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ private SearchLog createSearchLogFromAuditEntry(AuditEntry entry, ZonedDateTime

private void logCorrelationId(
String requestId, String activity, String jurisdiction, String idamId, String auditLogId) {
log.info("LAU Correlation-ID:REMOTE_LOG_AND_AUDIT_CASE_{},Request-ID:{},jurisdiction:{},idamId:{}, logId:{}",
log.debug("LAU Correlation-ID:REMOTE_LOG_AND_AUDIT_CASE_{},Request-ID:{},jurisdiction:{},idamId:{}, logId:{}",
activity,
requestId,
jurisdiction,
Expand All @@ -165,7 +165,7 @@ private void logCorrelationId(

private void logAuditResponse(
String requestId, String activity, int httpStatus, URI uri, String auditLogId) {
log.info("LAU Response:REMOTE_LOG_AND_AUDIT_CASE_{},Request-ID:{},httpStatus:{},url:{}, logId:{}",
log.debug("LAU Response:REMOTE_LOG_AND_AUDIT_CASE_{},Request-ID:{},httpStatus:{},url:{}, logId:{}",
activity,
requestId,
httpStatus,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public Collection<GrantedAuthority> convert(Jwt jwt) {
List<GrantedAuthority> authorities = new ArrayList<>();
if (jwt.hasClaim(TOKEN_NAME) && jwt.getClaim(TOKEN_NAME).equals(ACCESS_TOKEN)) {
UserInfo userInfo = idamRepository.getUserInfo(jwt.getTokenValue());
log.info("JwtGrantedAuthoritiesConverter retrieved user info from idamRepository. User Id={}. Roles={}.",
log.debug("JwtGrantedAuthoritiesConverter retrieved user info from idamRepository. User Id={}. Roles={}.",
userInfo.getUid(), userInfo.getRoles());
authorities = extractAuthorityFromClaims(userInfo.getRoles());
}
Expand Down