Commit b02cbec0ee6b6bd2979b7f8b6e825642effa904d

Authored by Andrii Shvaika
1 parent e981edd8

Minor logging improvements

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