Fix failing logging audit tests
This commit fixes the logging audit tests which were broken due to an upstream change in core Elasticsearch relating to the fact that prefixes are no longer considered part of the log message, but are instead implemented via markers. Original commit: elastic/x-pack-elasticsearch@abd7ec23d8
This commit is contained in:
parent
2c6d0b0cd2
commit
6d4e4f5131
|
@ -57,7 +57,7 @@ public class CapturingLogger {
|
|||
public final List<String> trace = new ArrayList<>();
|
||||
|
||||
private MockAppender(final String name) throws IllegalAccessException {
|
||||
super(name, RegexFilter.createFilter(".*(\n.*)*", new String[0], true, null, null), null);
|
||||
super(name, RegexFilter.createFilter(".*(\n.*)*", new String[0], false, null, null), null);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue