import org.sonar.process.ProcessUtils;
import org.sonar.process.ProcessWrapper;
import org.sonar.process.Props;
+import org.sonar.search.SearchServer;
import java.io.File;
import java.io.IOException;
try {
// start and wait for shutdown command
+ if (props.contains(SearchServer.ES_CLUSTER_INET)) {
+ logger.info("SonarQube slave configured to join SonarQube master : {}", props.of(SearchServer.ES_CLUSTER_INET));
+ }
app.start(props);
} catch (InterruptedException e) {
LoggerFactory.getLogger(App.class).info("interrupted");