diff --git a/src/fr/devinsy/logar/app/anonymizer/Anonymizer.java b/src/fr/devinsy/logar/app/anonymizer/Anonymizer.java index 188fb15..69125e7 100644 --- a/src/fr/devinsy/logar/app/anonymizer/Anonymizer.java +++ b/src/fr/devinsy/logar/app/anonymizer/Anonymizer.java @@ -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); } //