Skip to content

Commit a55e6be

Browse files
committed
added logging
1 parent 201717b commit a55e6be

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main/java/tech/stackable/hadoop/StackableTopologyProvider.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ private void logInitializationStatus() {
7272
labels.stream().map(TopologyLabel::getName).collect(Collectors.toList());
7373
LOG.info("Initialized with topology labels: {}", labelNames);
7474
}
75+
LOG.debug("Client namespaces {} and config {}", client.namespaces(), client.configMaps());
7576
}
7677

7778
@Override
@@ -302,6 +303,7 @@ private void refreshPodCacheIfNeeded(List<String> names) {
302303

303304
private void cachePodByNameAndIps(Pod pod) {
304305
String podName = pod.getMetadata().getName();
306+
LOG.debug("Refreshing pod cache: adding {}", podName);
305307
cache.putPod(podName, pod);
306308

307309
// Cache by all IPs - this is crucial for IP-based lookups

0 commit comments

Comments
 (0)