}
}
@Test
public void testLogConfig() throws Exception {
LogConfiguration config1 = manager.getConfiguration();
assertThat(config1.getRootLoggerLevel(), is("INFO"));
DefaultLogConfiguration config2 = new DefaultLogConfiguration(config1);
config2.setRootLoggerLevel("DEBUG");
manager.setConfiguration(config2);
LogConfiguration config3 = manager.getConfiguration();
assertThat(config3.getRootLoggerLevel(), is("DEBUG"));
// TODO check that is actually logging at debug level
}