diff options
Diffstat (limited to 'server/sonar-ce/src')
-rw-r--r-- | server/sonar-ce/src/main/java/org/sonar/ce/app/WebServerBarrier.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/server/sonar-ce/src/main/java/org/sonar/ce/app/WebServerBarrier.java b/server/sonar-ce/src/main/java/org/sonar/ce/app/WebServerBarrier.java index 86d4419c7b7..2053d9325f3 100644 --- a/server/sonar-ce/src/main/java/org/sonar/ce/app/WebServerBarrier.java +++ b/server/sonar-ce/src/main/java/org/sonar/ce/app/WebServerBarrier.java @@ -25,6 +25,8 @@ import org.sonar.api.utils.log.Loggers; import org.sonar.process.DefaultProcessCommands; import org.sonar.process.ProcessId; +import static org.sonar.server.app.ServerProcessLogging.STARTUP_LOGGER_NAME; + /** * Waits for the web server to be operational (started and datastores up-to-date) */ @@ -47,6 +49,7 @@ class WebServerBarrier implements StartupBarrier { return true; } + Loggers.get(STARTUP_LOGGER_NAME).info("Compute Engine startup is on hold. Waiting for Web Server to be operational."); LOG.info("Waiting for Web Server to be operational..."); Logger logarithmicLogger = LogarithmicLogger.from(LOG).applyingCallRatio(CALL_RATIO).build(); while (!processCommands.isOperational()) { |