Skip to content

Commit

Permalink
info -> fine
Browse files Browse the repository at this point in the history
  • Loading branch information
qqmyers committed Jun 13, 2024
1 parent 1150ff4 commit 058c28b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2180,7 +2180,7 @@ public List<String> findPermissionsInSolrOnly() throws SearchException {
} else if (obj instanceof DataFile f) {
List<VersionState> states = dataFileService.findVersionStates(f.getId());
Set<String> strings = states.stream().map(VersionState::toString).collect(Collectors.toSet());
logger.info("for " + docId + " states: " + String.join(", ", strings));
logger.fine("States for " + docId + ": " + String.join(", ", strings));
if (docId.endsWith("draft_permission")) {
if (!states.contains(VersionState.DRAFT)) {
permissionInSolrOnly.add(docId);
Expand All @@ -2194,7 +2194,7 @@ public List<String> findPermissionsInSolrOnly() throws SearchException {
permissionInSolrOnly.add(docId);
} else {
if(dataFileService.findFileMetadataByDatasetVersionIdAndDataFileId(f.getOwner().getReleasedVersion().getId(), f.getId()) == null) {
logger.info("Adding doc " + docId + " to list of permissions in Solr only");
logger.fine("Adding doc " + docId + " to list of permissions in Solr only");
permissionInSolrOnly.add(docId);
}
}
Expand Down

0 comments on commit 058c28b

Please sign in to comment.