Fix logger NPE issues
This commit is contained in:
parent
aca56eac9a
commit
7a2fd989a3
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue