+ "java.util.logging.ConsoleHandler.level=ALL\n"
+ "java.util.logging.ConsoleHandler.formatter=tigase.util.LogFormatter\n"
;
Configurator.loadLogManagerConfig(initial_config);
Configurator config = null;
try {
config = new Configurator(config_file, args);
} catch (XMLDBException e) {
System.err.println("");
System.err.println(" --------------------------------------");
System.err.println(" ERROR! Terminating the server process.");
System.err.println(" Invalid XML configuration file: " + config_file);
System.err.println(" Please fix the problem and start the server again.");
System.exit(1);
}
config.setName("basic-conf");
MessageRouter router = new MessageRouter();
router.setName(server_name);
router.setConfig(config);
router.start();