Commit d5bc16a3 authored by Waleed Akbar's avatar Waleed Akbar
Browse files

feat: Add logging for retrieved mapping in EventDispatcher

parent 5ae15a6c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -817,7 +817,7 @@ class EventDispatcher(BaseEventDispatcher):

        try:
            mapping = self._object_cache.get(CachedEntities.CONNECTION, connection_uuid, auto_retrieve=False)
            
            LOGGER.info('Retrieved mapping for connection {:s}: {:s}'.format(connection_uuid, str(mapping)))
            if mapping is None:
                MSG = 'Connection {:s} not managed by this controller (not in allowed links), skipping removal'
                LOGGER.debug(MSG.format(connection_uuid))