try {
// configure logging before we start seriously processing.
LogManager.getLogManager().readConfiguration(runnerMode.getLogConfig());
System.out.println("setting runnermode " + runnerMode);
basePaths = getPathResolver(config);
initializeModules.add(new InitializeModule(pluginLoader, basePaths, flagsParser,
runnerMode));
} catch (IOException e) {
throw new ConfigurationException("Could not find " + config.getBasePaths(), e);
}
Injector initializeInjector = Guice.createInjector(initializeModules);