private static void assertLogFileContains(String expected, List<String> logLines) {
        for (var line : logLines) {
            if (line.contains(expected)) return;
        }
        Assert.fail("Log did not contain : " + expected);
    }
@author Simon Thoresen Hult
@author gjoranv
jdisc_core_test/integration_test/src/test/java/com/yahoo/jdisc/core/LogFrameworksIntegrationTest.java