aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-auth-github
diff options
context:
space:
mode:
authorWojtek Wajerowicz <115081248+wojciech-wajerowicz-sonarsource@users.noreply.github.com>2023-06-13 14:11:28 +0200
committersonartech <sonartech@sonarsource.com>2023-06-13 20:03:37 +0000
commit6c88709145ecf40500f5600d420e04c537f4c0a0 (patch)
tree5cca9ab49cb7335eb92ffe82025119b3441ac091 /server/sonar-auth-github
parent64ae11abcdc2117c247a5364f2543144789ab175 (diff)
downloadsonarqube-6c88709145ecf40500f5600d420e04c537f4c0a0.tar.gz
sonarqube-6c88709145ecf40500f5600d420e04c537f4c0a0.zip
[NOJIRA] Remove usage of deprecated Loggers. (#8527)
Diffstat (limited to 'server/sonar-auth-github')
-rw-r--r--server/sonar-auth-github/src/main/java/org/sonar/auth/github/GitHubRestClient.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/server/sonar-auth-github/src/main/java/org/sonar/auth/github/GitHubRestClient.java b/server/sonar-auth-github/src/main/java/org/sonar/auth/github/GitHubRestClient.java
index 580fc46565f..531a4a71e5b 100644
--- a/server/sonar-auth-github/src/main/java/org/sonar/auth/github/GitHubRestClient.java
+++ b/server/sonar-auth-github/src/main/java/org/sonar/auth/github/GitHubRestClient.java
@@ -28,8 +28,8 @@ import java.io.IOException;
import java.net.HttpURLConnection;
import java.util.List;
import java.util.concurrent.ExecutionException;
-import org.sonar.api.utils.log.Logger;
-import org.sonar.api.utils.log.Loggers;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
import static java.lang.String.format;
import static org.sonar.auth.OAuthRestClient.executePaginatedRequest;
@@ -37,7 +37,7 @@ import static org.sonar.auth.OAuthRestClient.executeRequest;
public class GitHubRestClient {
- private static final Logger LOGGER = Loggers.get(GitHubRestClient.class);
+ private static final Logger LOGGER = LoggerFactory.getLogger(GitHubRestClient.class);
private final GitHubSettings settings;