Compare commits

...

2 Commits

Author SHA1 Message Date
Sinan Ta
a42c706ae4 Merge branch 'RED-8652' into 'release/4.58.x'
RED-8652: Adjust log level

See merge request redactmanager/redaction-report-service!58
2024-03-05 15:20:55 +01:00
sinan.ta@knecon.com
c8ee64c89f change log level to info 2024-03-05 14:01:30 +01:00

View File

@ -142,7 +142,7 @@ public class EntityLogConverterService {
if (settings.getMaxRedactionEntryValueLength() > 0 && entry.getValue() != null && entry.getValue().length() > settings.getMaxRedactionEntryValueLength()) {
entry.setValue(entry.getValue().substring(0, settings.getMaxRedactionEntryValueLength()) + "...");
log.warn("Truncated value in dossier {}, file {} on pages {} to {} chars",
log.info("Truncated value in dossier {}, file {} on pages {} to {} chars",
dossierId,
fileId,
entry.getPositions()
@ -154,7 +154,7 @@ public class EntityLogConverterService {
if (settings.getMaxSectionLength() > 0 && entry.getSection() != null && entry.getSection().length() > settings.getMaxSectionLength()) {
entry.setSection(entry.getSection().substring(0, settings.getMaxSectionLength()) + "...");
log.warn("Truncated section in dossier {}, file {} on pages {} to {} chars",
log.info("Truncated section in dossier {}, file {} on pages {} to {} chars",
dossierId,
fileId,
entry.getPositions()