@Test public void testInheritParentLevel() throws IOException { Configuration configuration = loadConfiguration(prefix + "inherit-level.xml"); try { assertEquals(Level.TRACE, configuration.getLoggerConfig("com.foo").getLevel()); } finally { configuration.stop(); } }
@Test public void testInheritParentDefaultLevel() throws IOException { Configuration configuration = loadConfiguration(prefix + "default-level.xml"); try { assertEquals(Level.ERROR, configuration.getLoggerConfig("com.foo").getLevel()); } finally { configuration.stop(); } }