}
@Test
public void lifecycle_log() {
service = (RequestContextChainingServiceImpl) factory.getBean("rc2");
SessionRequestContextFactoryImpl f = getFactory(service, SessionRequestContextFactoryImpl.class);
SessionConfig config = f.getConfig();
SessionLifecycleLogger sll = (SessionLifecycleLogger) config.getSessionInterceptors()[0];
assertEquals("debug", getFieldValue(sll, "logLevel", Level.class).toString());
assertEquals("trace", getFieldValue(sll, "visitLogLevel", Level.class).toString());
}