Fix logger NPE issues

This commit is contained in:
Reinhard Pointner 2016-03-11 08:17:02 +00:00
parent aca56eac9a
commit 7a2fd989a3
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@ public final class Logging {
@Override
public String format(LogRecord record) {
String message = record.getMessage();
if (anonymize != null) {
if (anonymize != null && message != null) {
message = anonymize.matcher(message).replaceAll("");
}
return message + System.lineSeparator();