Update Log4JFilter.java

This commit is contained in:
DNx 2016-03-31 20:20:11 +07:00
parent 2c995168e3
commit 6f8b970c5c

View File

@ -51,6 +51,9 @@ public class Log4JFilter implements Filter {
@Override @Override
public Result filter(LogEvent record) { public Result filter(LogEvent record) {
if (record == null) {
return Result.NEUTRAL;
}
return validateMessage(record.getMessage()); return validateMessage(record.getMessage());
} }