RED-6098: Added logs for debugging

This commit is contained in:
Ali Oezyetimoglu 2023-04-25 21:24:19 +02:00
parent 9cdf039e12
commit 84df7e5960

View File

@ -89,9 +89,10 @@ public class RedactionLogConverterService {
List<ReportRedactionEntry> reportEntries = new ArrayList<>();
var allTypes = dictionaryClient.getAllTypesForDossier(dossierId, false);
log.info("AAAA: {}", allTypes);
redactionLog.getRedactionLogEntry().forEach(entry -> {
log.info("AAAA: {}, {}", entry.getType(), allTypes);
log.info("BBBB: {}, {}", entry.getType(), allTypes);
var isSkipped = !entry.isRedacted() && !entry.isHint() && !isHintType(allTypes, entry.getType());
if (entry.isRedacted() || isSkipped) {