From c3ac423fdd964c651ccc94f6d5c3dbcd729812d7 Mon Sep 17 00:00:00 2001 From: Johnny Lim Date: Sat, 20 Oct 2018 10:13:16 +0900 Subject: [PATCH] Use Commons Logging for PrometheusPushGatewayManager Closes gh-14910 --- .../export/prometheus/PrometheusPushGatewayManager.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/export/prometheus/PrometheusPushGatewayManager.java b/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/export/prometheus/PrometheusPushGatewayManager.java index 9e9e50b302..1c578f6379 100644 --- a/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/export/prometheus/PrometheusPushGatewayManager.java +++ b/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/export/prometheus/PrometheusPushGatewayManager.java @@ -25,8 +25,8 @@ import java.util.concurrent.ScheduledFuture; import io.prometheus.client.CollectorRegistry; import io.prometheus.client.exporter.PushGateway; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; +import org.apache.commons.logging.Log; +import org.apache.commons.logging.LogFactory; import org.springframework.scheduling.TaskScheduler; import org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler; @@ -44,8 +44,8 @@ import org.springframework.util.StringUtils; */ public class PrometheusPushGatewayManager { - private static final Logger logger = LoggerFactory - .getLogger(PrometheusPushGatewayManager.class); + private static final Log logger = LogFactory + .getLog(PrometheusPushGatewayManager.class); private final PushGateway pushGateway;