From: Stephane Gamard Date: Mon, 25 Aug 2014 11:39:16 +0000 (+0200) Subject: SONAR-5483 - Added cluster notification log X-Git-Tag: 4.5-RC1~107 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=98d7afc4e8c5dfc9688175da337ead31b9a23366;p=sonarqube.git SONAR-5483 - Added cluster notification log --- diff --git a/sonar-application/src/main/java/org/sonar/application/App.java b/sonar-application/src/main/java/org/sonar/application/App.java index 59f236fdfec..72e7e229e7a 100644 --- a/sonar-application/src/main/java/org/sonar/application/App.java +++ b/sonar-application/src/main/java/org/sonar/application/App.java @@ -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) {