Showing
1 changed file
with
2 additions
and
0 deletions
@@ -153,6 +153,8 @@ public abstract class AbstractConsumerService<N extends com.google.protobuf.Gene | @@ -153,6 +153,8 @@ public abstract class AbstractConsumerService<N extends com.google.protobuf.Gene | ||
153 | TbActorMsg actorMsg = actorMsgOpt.get(); | 153 | TbActorMsg actorMsg = actorMsgOpt.get(); |
154 | if (actorMsg instanceof ComponentLifecycleMsg) { | 154 | if (actorMsg instanceof ComponentLifecycleMsg) { |
155 | ComponentLifecycleMsg componentLifecycleMsg = (ComponentLifecycleMsg) actorMsg; | 155 | ComponentLifecycleMsg componentLifecycleMsg = (ComponentLifecycleMsg) actorMsg; |
156 | + log.info("[{}][{}][{}] Received Lifecycle event: {}", componentLifecycleMsg.getTenantId(), componentLifecycleMsg.getEntityId().getEntityType(), | ||
157 | + componentLifecycleMsg.getEntityId(), componentLifecycleMsg.getEvent()); | ||
156 | if (EntityType.TENANT_PROFILE.equals(componentLifecycleMsg.getEntityId().getEntityType())) { | 158 | if (EntityType.TENANT_PROFILE.equals(componentLifecycleMsg.getEntityId().getEntityType())) { |
157 | TenantProfileId tenantProfileId = new TenantProfileId(componentLifecycleMsg.getEntityId().getId()); | 159 | TenantProfileId tenantProfileId = new TenantProfileId(componentLifecycleMsg.getEntityId().getId()); |
158 | tenantProfileCache.evict(tenantProfileId); | 160 | tenantProfileCache.evict(tenantProfileId); |