SIENTIAPDE-1110
Enhance debug logging in Ingestor class to track changes in managed tags - Added debug logging to capture changes between new and old managed tags in the Ingestor class, improving traceability of subscription management.
This commit is contained in:
@@ -258,6 +258,13 @@ class Ingestor:
|
|||||||
old_managed_tags,
|
old_managed_tags,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
keys = set(new_managed_tags) | set(old_managed_tags)
|
||||||
|
|
||||||
|
changes = {k: (new_managed_tags.get(k), old_managed_tags.get(k))
|
||||||
|
for k in keys if new_managed_tags.get(k) != old_managed_tags.get(k)}
|
||||||
|
|
||||||
|
self.logger.debug("Changes: %s", changes)
|
||||||
|
|
||||||
for slot, config in new_managed_tags.items():
|
for slot, config in new_managed_tags.items():
|
||||||
if slot not in old_managed_tags:
|
if slot not in old_managed_tags:
|
||||||
self.logger.debug("Subscribing to new slot %s", slot)
|
self.logger.debug("Subscribing to new slot %s", slot)
|
||||||
|
|||||||
Reference in New Issue
Block a user