new LogFactory[] { new ScreenLogFactory(settings),
new JdbcLogFactory(settings)});
} else {
logFactory = new ScreenLogFactory(settings);
}
MessageFactory messageFactory = new DefaultMessageFactory();
acceptor = new SocketAcceptor
( application, messageStoreFactory,
settings, logFactory, messageFactory );
} catch (ConfigError e) {
e.printStackTrace();