Also removing userId from messageLog

This commit is contained in:
dankito 2024-08-20 11:44:44 +02:00
parent 46579441f1
commit 524153cb31
1 changed files with 5 additions and 0 deletions

View File

@ -108,6 +108,11 @@ open class MessageLogCollector {
.replace(bank.customerId, "<customer_id>")
.replace("+" + bank.pin, "+<pin>")
if (bank.userId != bank.customerId) {
prettyPrintMessageWithoutSensitiveData = prettyPrintMessageWithoutSensitiveData
.replace(bank.userId, "<user_id>")
}
if (bank.customerName.isNotBlank()) {
prettyPrintMessageWithoutSensitiveData = prettyPrintMessageWithoutSensitiveData
.replace(bank.customerName, "<customer_name>", true)