aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-main
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-main')
-rw-r--r--server/sonar-main/src/main/java/org/sonar/application/SchedulerImpl.java2
-rw-r--r--server/sonar-main/src/main/java/org/sonar/application/process/ProcessLauncherImpl.java2
-rw-r--r--server/sonar-main/src/main/java/org/sonar/application/process/SQProcess.java2
3 files changed, 3 insertions, 3 deletions
diff --git a/server/sonar-main/src/main/java/org/sonar/application/SchedulerImpl.java b/server/sonar-main/src/main/java/org/sonar/application/SchedulerImpl.java
index 943f5de6efa..abe37386b64 100644
--- a/server/sonar-main/src/main/java/org/sonar/application/SchedulerImpl.java
+++ b/server/sonar-main/src/main/java/org/sonar/application/SchedulerImpl.java
@@ -130,7 +130,7 @@ public class SchedulerImpl implements Scheduler, ProcessEventListener, ProcessLi
} else {
Optional<String> leader = appState.getLeaderHostName();
if (leader.isPresent()) {
- LOG.info("Waiting for initialization from " + leader.get());
+ LOG.info("Waiting for initialization from {}", leader.get());
} else {
LOG.error("Initialization failed. All nodes must be restarted");
}
diff --git a/server/sonar-main/src/main/java/org/sonar/application/process/ProcessLauncherImpl.java b/server/sonar-main/src/main/java/org/sonar/application/process/ProcessLauncherImpl.java
index 802d53bdf16..f067cc15c76 100644
--- a/server/sonar-main/src/main/java/org/sonar/application/process/ProcessLauncherImpl.java
+++ b/server/sonar-main/src/main/java/org/sonar/application/process/ProcessLauncherImpl.java
@@ -98,7 +98,7 @@ public class ProcessLauncherImpl implements ProcessLauncher {
try {
FileUtils.deleteDirectory(outdatedDir);
} catch (IOException e) {
- LOG.info("Failed to delete outdated search index data directory " + outdatedDir.getAbsolutePath(), e);
+ LOG.info("Failed to delete outdated search index data directory {}", outdatedDir.getAbsolutePath(), e);
}
}
});
diff --git a/server/sonar-main/src/main/java/org/sonar/application/process/SQProcess.java b/server/sonar-main/src/main/java/org/sonar/application/process/SQProcess.java
index 6aa7a29bac1..18f6d192d6c 100644
--- a/server/sonar-main/src/main/java/org/sonar/application/process/SQProcess.java
+++ b/server/sonar-main/src/main/java/org/sonar/application/process/SQProcess.java
@@ -134,7 +134,7 @@ public class SQProcess {
LOG.warn(format("Interrupted while stopping process %s", processId), e);
Thread.currentThread().interrupt();
} catch (Throwable e) {
- LOG.error("Can not ask for graceful stop of process " + processId, e);
+ LOG.error("Can not ask for graceful stop of process {}", processId, e);
}
}