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),
|
||||
objectMapper.getTypeFactory().constructCollectionType(List.class, RepositorySnippet.class));
|
||||
|
||||
if (logger.isDebugEnabled()) {
|
||||
logger.debug("resultSet: {}", objectMapper.writeValueAsString(resultSet));
|
||||
if (logger.isTraceEnabled()) {
|
||||
logger.trace("resultSet: {}", objectMapper.writeValueAsString(resultSet));
|
||||
}
|
||||
resultSet.parallelStream().forEach(repositorySnippet -> {
|
||||
repositorySnippet.setPiwikInfo(piWikService.getPiwikSiteForRepo(repositorySnippet.getId()));
|
||||
|
|
|
@ -131,8 +131,8 @@ public class AuthorizationServiceImpl implements AuthorizationService {
|
|||
UserInfo userInfo = ((OIDCAuthenticationToken) SecurityContextHolder.getContext().getAuthentication()).getUserInfo();
|
||||
roles = getUserRolesByEmail(userInfo.getEmail());
|
||||
|
||||
if (logger.isDebugEnabled()) {
|
||||
logger.debug("User Roles: {}", String.join(",", roles));
|
||||
if (logger.isTraceEnabled()) {
|
||||
logger.trace("User Roles: {}", String.join(",", roles));
|
||||
}
|
||||
return roles;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue