@Test
    public void requireThatAllSupportedLogFrameworksAreConfigured() throws Exception {
        File logFile = tempFolder.newFile();
        try {
            System.setProperty(VESPA_LOG_TARGET, "file:" + logFile.getAbsolutePath());
            TestDriver driver = TestDriver.newApplicationBundleInstance("app-h-log.jar", false);

            List<String> logLines = IOUtils.getLines(logFile.getAbsolutePath());
            assertLogFileContains("[jdk14] hello world", logLines);
            assertLogFileContains("[slf4j] hello world", logLines);
            assertLogFileContains("[log4j] hello world", logLines);
            assertLogFileContains("[jcl] hello world", logLines);

            assertTrue(driver.close());
        } finally {
            System.clearProperty(VESPA_LOG_TARGET);
            // Triggers a warning that can be ignored. Necessary to reset the log target for later tests.
            LogSetup.initVespaLogging("jdisc_core_test");
        }
    }
@author Simon Thoresen Hult
@author gjoranv
jdisc_core_test/integration_test/src/test/java/com/yahoo/jdisc/core/LogFrameworksIntegrationTest.java