public static void main(String[] args) throws Exception {
new MinimumViableSystem().check();
CommandLineParser cli = new CommandLineParser();
Properties rawProperties = cli.parseArguments(args);
Props props = new PropsBuilder(rawProperties, new JdbcSettings()).build();
ProcessLogging logging = new ProcessLogging();
logging.configure(props, "/org/sonar/application/logback.xml");
if (props.valueAsBoolean("sonar.log.console", false)) {
logging.addConsoleAppender();
}
App app = new App();
app.start(props);
}