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:
Jason Tedor 2016-09-13 17:41:53 -04:00
parent 2c6d0b0cd2
commit 6d4e4f5131
1 changed files with 1 additions and 1 deletions

View File

@ -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