diff options
author | Wojtek Wajerowicz <115081248+wojciech-wajerowicz-sonarsource@users.noreply.github.com> | 2023-06-13 14:11:28 +0200 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2023-06-13 20:03:37 +0000 |
commit | 6c88709145ecf40500f5600d420e04c537f4c0a0 (patch) | |
tree | 5cca9ab49cb7335eb92ffe82025119b3441ac091 /sonar-application | |
parent | 64ae11abcdc2117c247a5364f2543144789ab175 (diff) | |
download | sonarqube-6c88709145ecf40500f5600d420e04c537f4c0a0.tar.gz sonarqube-6c88709145ecf40500f5600d420e04c537f4c0a0.zip |
[NOJIRA] Remove usage of deprecated Loggers. (#8527)
Diffstat (limited to 'sonar-application')
-rw-r--r-- | sonar-application/src/main/java/org/sonar/application/App.java | 4 |
1 files changed, 2 insertions, 2 deletions
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 3d3e78b46ac..df601ab1b91 100644 --- a/sonar-application/src/main/java/org/sonar/application/App.java +++ b/sonar-application/src/main/java/org/sonar/application/App.java @@ -19,7 +19,7 @@ */ package org.sonar.application; -import org.sonar.api.utils.log.Loggers; +import org.slf4j.LoggerFactory; import org.sonar.application.command.CommandFactory; import org.sonar.application.command.CommandFactoryImpl; import org.sonar.application.config.AppSettings; @@ -71,7 +71,7 @@ public class App { hardStopRequestWatcher.stopWatching(); } } catch (Exception e) { - Loggers.get(App.class).error("Startup failure", e); + LoggerFactory.getLogger(App.class).error("Startup failure", e); } systemExit.exit(0); |