@Test
    public void testZooKeeperFilter() throws IOException {
        final File file = folder.newFile("zookeeper");
        LogSetup.ZooKeeperFilter filter = new LogSetup.ZooKeeperFilter(file.getAbsolutePath());
        assertFalse(filter.isLoggable(zookeeperLogRecord));
        //assertTrue(filter.isLoggable(zookeeperLogRecordError));
        assertTrue(filter.isLoggable(notzookeeperLogRecord));
        File actualLogFile = new File(file.getParent(), "zookeeper.0.log"); // Real file name will have .0.log appended
        String[] lines = VespaLogHandlerTestCase.readFile(actualLogFile.getAbsolutePath());
        assertEquals(1, lines.length);
        assertEquals(zookeeperLogRecordString, lines[0]);
    }
Make sure we can install the logging stuff properly.

@author Bjorn Borud
vespalog/src/test/java/com/yahoo/log/LogSetupTestCase.java