Skip to content

Commit eb0e58d

Browse files
committed
MinimumRecordCountValidator logging tweaks
1 parent e1c115c commit eb0e58d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hollow/src/main/java/com/netflix/hollow/api/producer/validation/MinimumRecordCountValidator.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public MinimumRecordCountValidator(String typeName, Supplier<Integer> minRecordC
2626

2727
@Override
2828
public String getName() {
29-
return MinimumRecordCountValidator.class.getName() + "_" + typeName;
29+
return MinimumRecordCountValidator.class.getSimpleName() + "_" + typeName;
3030
}
3131

3232
@Override
@@ -53,7 +53,7 @@ public ValidationResult onValidate(HollowProducer.ReadState readState) {
5353
return vrb.failed(message);
5454
}
5555

56-
return vrb.passed(getName() + " " + typeName + " has >= " + minRecordCount + " records");
56+
return vrb.passed(getName() + " numRecords=" + recordCount + ", threshold=" + minRecordCount);
5757
}
5858

5959
}

0 commit comments

Comments
 (0)