Modifies LogFactory Input parameter of getlog

Uses current class rather than copy paste class.

Fixes gh-767
This commit is contained in:
zhenqiangyi
2022-02-08 11:37:29 +08:00
committed by spencergibb
parent 6b9dab1096
commit c6f768b28c
2 changed files with 2 additions and 2 deletions

View File

@@ -43,7 +43,7 @@ import org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler;
*/
public class ConsulCatalogWatch implements ApplicationEventPublisherAware, SmartLifecycle {
private static final Log log = LogFactory.getLog(ConsulDiscoveryClient.class);
private static final Log log = LogFactory.getLog(ConsulCatalogWatch.class);
private final ConsulDiscoveryProperties properties;

View File

@@ -37,7 +37,7 @@ import org.springframework.scheduling.concurrent.ConcurrentTaskScheduler;
*/
public class TtlScheduler {
private static final Log log = LogFactory.getLog(ConsulDiscoveryClient.class);
private static final Log log = LogFactory.getLog(TtlScheduler.class);
private final Map<String, ScheduledFuture> serviceHeartbeats = new ConcurrentHashMap<>();