Merge branch 'RED-8652-adjust-log-level' into 'master'
Resolve RED-8652 "Adjust log level" Closes RED-8652 See merge request redactmanager/redaction-report-service!56
This commit is contained in:
commit
cb35f50915
@ -126,7 +126,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()
|
||||
@ -138,7 +138,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()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user