Build: Print warn logs from cluster on failure
Prints the warning level logs from the integration testing cluster if
there is a failure. We'd attempted to print those logs but I believe our
regex was missing a space.
@@ -162,7 +162,7 @@ public class RestIntegTestTask extends DefaultTask {
if (line.startsWith("[")) {
inExcerpt = false // clear with the next log message
}
- if (line =~ /(\[WARN\])|(\[ERROR\])/) {
+ if (line =~ /(\[WARN *\])|(\[ERROR *\])/) {
inExcerpt = true // show warnings and errors
}
if (inStartup || inExcerpt) {
