Fixed anonymize.

This commit is contained in:
Christian P. MOMON 2021-04-25 04:38:45 +02:00
parent 4cf6678aae
commit 15b088268b

View file

@ -178,7 +178,7 @@ public final class Anonymizer
if (!StringUtils.equals(log.getUser(), "-"))
{
String anonUser = this.map.anonymizeUser(log.getUser());
line.replaceFirst(" " + log.getUser(), anonUser);
line = line.replaceFirst(" " + log.getUser(), " " + anonUser);
}
//