@Test
    void testDefaultLogCtlSpecs() {
        String hosts = "<hosts>"
                + "  <host name=\"myhost0\">"
                + "    <alias>node0</alias>"
                + "  </host>"
                + "</hosts>";

        String services = "<services>" +
                "  <admin version='2.0'>" +
                "    <adminserver hostalias='node0' />" +
                "  </admin>" +
                "  <container version=\"1.0\">" +
                "    <nodes>" +
                "      <node hostalias=\"node0\" />" +
                "    </nodes>" +
                "    <search/>" +
                "    <document-api/>" +
                "  </container>" +
                "</services>";

        VespaModel vespaModel = new VespaModelCreatorWithMockPkg(hosts, services).create();
        List<LogctlSpec> logctlSpecs = vespaModel.getAdmin().getLogctlSpecs();
        assertEquals(5, logctlSpecs.size());  // Default logctl specs
        assertEquals(1, logctlSpecs
                .stream()
                     .filter(l -> (l.componentSpec()
                                   .equals("com.yahoo.vespa.spifly.repackaged.spifly.BaseActivator")
                                   &&
                                   l.levelsModSpec()
                                   .toLogctlModSpec()
                                   .equals("fatal=on,error=on,warning=on,info=off,event=on,config=on,debug=off,spam=off")))
                     .count());

        String localhostConfigId = "hosts/myhost0";
        SentinelConfig sentinelConfig = vespaModel.getConfig(SentinelConfig.class, localhostConfigId);
        System.out.println(sentinelConfig);
        assertEquals(5, getConfigForService("container", sentinelConfig).logctl().size());
        assertEquals(5, getConfigForService("metricsproxy-container", sentinelConfig).logctl().size());
    }
Test that a very simple config with only adminserver tag creates
adminserver, logserver, configserver and slobroks
config-model/src/test/java/com/yahoo/vespa/model/admin/AdminTestCase.java