this one, for sure.

This commit is contained in:
DNx 2016-03-31 19:49:52 +07:00
parent b8336e31a6
commit 2c995168e3

View File

@ -56,7 +56,7 @@ public class Log4JFilter implements Filter {
@Override
public Result filter(Logger arg0, Level arg1, Marker arg2, String message, Object... arg4) {
if (record == null) {
if (message == null) {
return Result.NEUTRAL;
}
return validateMessage(message);
@ -64,7 +64,7 @@ public class Log4JFilter implements Filter {
@Override
public Result filter(Logger arg0, Level arg1, Marker arg2, Object message, Throwable arg4) {
if (record == null) {
if (message == null) {
return Result.NEUTRAL;
}
return validateMessage(message.toString());