diff options
author | Sébastien Lesaint <sebastien.lesaint@sonarsource.com> | 2015-07-31 11:19:31 +0200 |
---|---|---|
committer | Sébastien Lesaint <sebastien.lesaint@sonarsource.com> | 2015-08-06 14:20:48 +0200 |
commit | 5500b11848b73bfdfa4163aab4e3ed4d3aa68396 (patch) | |
tree | cd7dba7bb4763c8d1fee6dee8deb68dca8220cf4 | |
parent | 411eb18952096ce017a5cd17ea96a06b083a444d (diff) | |
download | sonarqube-5500b11848b73bfdfa4163aab4e3ed4d3aa68396.tar.gz sonarqube-5500b11848b73bfdfa4163aab4e3ed4d3aa68396.zip |
error during Platform#stop must be logged at ERROR level (not DEBUG)
-rw-r--r-- | server/sonar-server/src/main/java/org/sonar/server/platform/Platform.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/server/sonar-server/src/main/java/org/sonar/server/platform/Platform.java b/server/sonar-server/src/main/java/org/sonar/server/platform/Platform.java index 95e26ddb6fa..fc5f931464b 100644 --- a/server/sonar-server/src/main/java/org/sonar/server/platform/Platform.java +++ b/server/sonar-server/src/main/java/org/sonar/server/platform/Platform.java @@ -29,8 +29,8 @@ import org.sonar.api.platform.Server; import org.sonar.api.utils.log.Logger; import org.sonar.api.utils.log.Loggers; import org.sonar.api.utils.log.Profiler; -import org.sonar.db.version.DatabaseVersion; import org.sonar.core.platform.ComponentContainer; +import org.sonar.db.version.DatabaseVersion; import org.sonar.server.platform.platformlevel.PlatformLevel; import org.sonar.server.platform.platformlevel.PlatformLevel1; import org.sonar.server.platform.platformlevel.PlatformLevel2; @@ -231,7 +231,7 @@ public class Platform { } /** - * Stops level 2, 3 and 3 containers cleanly if they exists. + * Stops level 2, 3 and 4 containers cleanly if they exists. * Call this method before {@link #startLevel1Container()} to avoid duplicate attempt to stop safemode container * components (since calling stop on a container calls stop on its children too, see * {@link ComponentContainer#stopComponents()}). @@ -273,7 +273,7 @@ public class Platform { dbConnected = false; started = false; } catch (Exception e) { - LOGGER.debug("Fail to stop server - ignored", e); + LOGGER.error("Fail to stop server - ignored", e); } } |