diff --git a/sat/plugins/plugin_pubsub_cache.py b/sat/plugins/plugin_pubsub_cache.py index 1c5a6bd5..359567db 100644 --- a/sat/plugins/plugin_pubsub_cache.py +++ b/sat/plugins/plugin_pubsub_cache.py @@ -564,7 +564,7 @@ class PubsubCache: f"Unexpected Pubsub event element: {xml_tools.pFmtElt(elt)}" ) if items: - log.debug("caching new items received from {node}") + log.debug(f"[{client.profile}] caching new items received from {node}") await self.cacheItems( client, node, items ) @@ -736,7 +736,7 @@ class PubsubCache: analyser=analyse.get("name"), type_=analyse.get("type"), ) - elif not resync: + elif not resync and pubsub_node.sync_state is not None: # the node exists, nothing to do return