]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-5483 - Added cluster notification log
authorStephane Gamard <stephane.gamard@searchbox.com>
Mon, 25 Aug 2014 11:39:16 +0000 (13:39 +0200)
committerStephane Gamard <stephane.gamard@searchbox.com>
Mon, 25 Aug 2014 11:39:16 +0000 (13:39 +0200)
sonar-application/src/main/java/org/sonar/application/App.java

index 59f236fdfeccb0872b645074545d791b4555e9da..72e7e229e7aeb2cc93a46ab2502b66ec0b8eb000 100644 (file)
@@ -168,7 +168,7 @@ public class App implements ProcessMXBean {
     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));
+        LoggerFactory.getLogger(App.class).info("SonarQube slave configured to join SonarQube master : {}", props.of(SearchServer.ES_CLUSTER_INET));
       }
       app.start(props);
     } catch (InterruptedException e) {