format = (LogFormat) Class.forName(cmd.getOptionValue("c")).newInstance();
} else if (cmd.hasOption("x")) {
String configName = cmd.getOptionValue("x");
format = SavedLogFormatLoader.load(configName);
} else {
format = new PlainTextLogFormat();
}
File f = new File(cmd.getArgs()[0]);
ReloadableCharBuffer buffer = ReloadableCharBuffer.fromFileReloadable(f);