Package org.sonar.process

Examples of org.sonar.process.ProcessLogging


  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);
  }
View Full Code Here


    }
  }

  public static void main(String... args) {
    ProcessEntryPoint entryPoint = ProcessEntryPoint.createForArguments(args);
    new ProcessLogging().configure(entryPoint.getProps(), "/org/sonar/search/logback.xml");
    SearchServer searchServer = new SearchServer(entryPoint.getProps());
    entryPoint.launch(searchServer);
  }
View Full Code Here

TOP

Related Classes of org.sonar.process.ProcessLogging

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.