static Configuration parseConfiguration(String[] args) throws ParseException {
assert args != null;
LOG.debug("Analyzing arguments: {}", Arrays.toString(args));
CommandLineParser parser = new BasicParser();
CommandLine cmd = parser.parse(OPTIONS, args);
ClassLoader classLoader = Main.class.getClassLoader();
YaessLogInput source = create(cmd, OPT_INPUT, YaessLogInput.class, classLoader);
YaessLogOutput sink = create(cmd, OPT_OUTPUT, YaessLogOutput.class, classLoader);