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 /server/sonar-ce-common | |
parent | 64ae11abcdc2117c247a5364f2543144789ab175 (diff) | |
download | sonarqube-6c88709145ecf40500f5600d420e04c537f4c0a0.tar.gz sonarqube-6c88709145ecf40500f5600d420e04c537f4c0a0.zip |
[NOJIRA] Remove usage of deprecated Loggers. (#8527)
Diffstat (limited to 'server/sonar-ce-common')
-rw-r--r-- | server/sonar-ce-common/src/main/java/org/sonar/ce/queue/CeQueueImpl.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/sonar-ce-common/src/main/java/org/sonar/ce/queue/CeQueueImpl.java b/server/sonar-ce-common/src/main/java/org/sonar/ce/queue/CeQueueImpl.java index e0af41a2682..88b77baec5c 100644 --- a/server/sonar-ce-common/src/main/java/org/sonar/ce/queue/CeQueueImpl.java +++ b/server/sonar-ce-common/src/main/java/org/sonar/ce/queue/CeQueueImpl.java @@ -37,7 +37,7 @@ import javax.annotation.CheckForNull; import javax.annotation.Nullable; import org.sonar.api.server.ServerSide; import org.sonar.api.utils.System2; -import org.sonar.api.utils.log.Loggers; +import org.slf4j.LoggerFactory; import org.sonar.ce.task.CeTask; import org.sonar.core.util.UuidFactory; import org.sonar.core.util.stream.MoreCollectors; @@ -305,7 +305,7 @@ public class CeQueueImpl implements CeQueue { if (deletedTasks == 1) { dbSession.commit(); } else { - Loggers.get(CeQueueImpl.class).debug( + LoggerFactory.getLogger(CeQueueImpl.class).debug( "Remove rolled back because task in queue with uuid {} and status {} could not be deleted", taskUuid, expectedQueueDtoStatus); dbSession.rollback(); |