Commit 45a0bfd8 authored by Madhura Bhave's avatar Madhura Bhave

Merge pull request #14910 from izeye

* gh-14910:
  Use Commons Logging for PrometheusPushGatewayManager
parents fd20618f c3ac423f
...@@ -25,8 +25,8 @@ import java.util.concurrent.ScheduledFuture; ...@@ -25,8 +25,8 @@ import java.util.concurrent.ScheduledFuture;
import io.prometheus.client.CollectorRegistry; import io.prometheus.client.CollectorRegistry;
import io.prometheus.client.exporter.PushGateway; import io.prometheus.client.exporter.PushGateway;
import org.slf4j.Logger; import org.apache.commons.logging.Log;
import org.slf4j.LoggerFactory; import org.apache.commons.logging.LogFactory;
import org.springframework.scheduling.TaskScheduler; import org.springframework.scheduling.TaskScheduler;
import org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler; import org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler;
...@@ -44,8 +44,8 @@ import org.springframework.util.StringUtils; ...@@ -44,8 +44,8 @@ import org.springframework.util.StringUtils;
*/ */
public class PrometheusPushGatewayManager { public class PrometheusPushGatewayManager {
private static final Logger logger = LoggerFactory private static final Log logger = LogFactory
.getLogger(PrometheusPushGatewayManager.class); .getLog(PrometheusPushGatewayManager.class);
private final PushGateway pushGateway; private final PushGateway pushGateway;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment