Skip to content

Commit

Permalink
Added search result log
Browse files Browse the repository at this point in the history
  • Loading branch information
njhlai committed Feb 16, 2022
1 parent be52dea commit 5f9fcb2
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ class V3StudyMigrationUpgrade(
).neighbors.getOrDefault(studyEkid, listOf())

if (searchResult.isNotEmpty()) {
logger.info("Neighbor search returned ${searchResult.size} results")
searchResult.filter { it.neighborId.isPresent && it.associationEntitySet.entityTypeId == associationParticipatedInEntityType}
.forEach { neighbor ->
// logger.info("Neighbour ${it.getNeighborId()} details:")
Expand Down

0 comments on commit 5f9fcb2

Please sign in to comment.