Use Commons Logging for PrometheusPushGatewayManager

Closes gh-14910
This commit is contained in:
Johnny Lim 2018-10-20 10:13:16 +09:00 committed by Madhura Bhave
parent fd20618f4b
commit c3ac423fdd
1 changed files with 4 additions and 4 deletions

View File

@ -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;