changed level in verbose logs
This commit is contained in:
parent
fdd597cf02
commit
1a3399f7d7
|
@ -217,8 +217,8 @@ public class RepositoryServiceImpl implements RepositoryService {
|
||||||
resultSet = objectMapper.readValue(objectMapper.writeValueAsString(datasourceDetailsList),
|
resultSet = objectMapper.readValue(objectMapper.writeValueAsString(datasourceDetailsList),
|
||||||
objectMapper.getTypeFactory().constructCollectionType(List.class, RepositorySnippet.class));
|
objectMapper.getTypeFactory().constructCollectionType(List.class, RepositorySnippet.class));
|
||||||
|
|
||||||
if (logger.isDebugEnabled()) {
|
if (logger.isTraceEnabled()) {
|
||||||
logger.debug("resultSet: {}", objectMapper.writeValueAsString(resultSet));
|
logger.trace("resultSet: {}", objectMapper.writeValueAsString(resultSet));
|
||||||
}
|
}
|
||||||
resultSet.parallelStream().forEach(repositorySnippet -> {
|
resultSet.parallelStream().forEach(repositorySnippet -> {
|
||||||
repositorySnippet.setPiwikInfo(piWikService.getPiwikSiteForRepo(repositorySnippet.getId()));
|
repositorySnippet.setPiwikInfo(piWikService.getPiwikSiteForRepo(repositorySnippet.getId()));
|
||||||
|
|
|
@ -131,8 +131,8 @@ public class AuthorizationServiceImpl implements AuthorizationService {
|
||||||
UserInfo userInfo = ((OIDCAuthenticationToken) SecurityContextHolder.getContext().getAuthentication()).getUserInfo();
|
UserInfo userInfo = ((OIDCAuthenticationToken) SecurityContextHolder.getContext().getAuthentication()).getUserInfo();
|
||||||
roles = getUserRolesByEmail(userInfo.getEmail());
|
roles = getUserRolesByEmail(userInfo.getEmail());
|
||||||
|
|
||||||
if (logger.isDebugEnabled()) {
|
if (logger.isTraceEnabled()) {
|
||||||
logger.debug("User Roles: {}", String.join(",", roles));
|
logger.trace("User Roles: {}", String.join(",", roles));
|
||||||
}
|
}
|
||||||
return roles;
|
return roles;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue