public static void main(String[] args) {
try {
// pre-parse parsing... These are the flags
// that must be dealt with before we parse the flags.
CmdLineFlags cmdLineFlags = new CmdLineFlagsFactory().create(args);
List<Plugin> cmdLinePlugins = cmdLineFlags.getPlugins();
// configure logging before we start seriously processing.
LogManager.getLogManager().readConfiguration(cmdLineFlags.getRunnerMode().getLogConfig());