Modifies LogFactory Input parameter of getlog
Uses current class rather than copy paste class. Fixes gh-767
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
@@ -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<>();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user