Minor logging improvements
This commit is contained in:
parent
e981edd83c
commit
b02cbec0ee
@ -153,6 +153,8 @@ public abstract class AbstractConsumerService<N extends com.google.protobuf.Gene
|
|||||||
TbActorMsg actorMsg = actorMsgOpt.get();
|
TbActorMsg actorMsg = actorMsgOpt.get();
|
||||||
if (actorMsg instanceof ComponentLifecycleMsg) {
|
if (actorMsg instanceof ComponentLifecycleMsg) {
|
||||||
ComponentLifecycleMsg componentLifecycleMsg = (ComponentLifecycleMsg) actorMsg;
|
ComponentLifecycleMsg componentLifecycleMsg = (ComponentLifecycleMsg) actorMsg;
|
||||||
|
log.info("[{}][{}][{}] Received Lifecycle event: {}", componentLifecycleMsg.getTenantId(), componentLifecycleMsg.getEntityId().getEntityType(),
|
||||||
|
componentLifecycleMsg.getEntityId(), componentLifecycleMsg.getEvent());
|
||||||
if (EntityType.TENANT_PROFILE.equals(componentLifecycleMsg.getEntityId().getEntityType())) {
|
if (EntityType.TENANT_PROFILE.equals(componentLifecycleMsg.getEntityId().getEntityType())) {
|
||||||
TenantProfileId tenantProfileId = new TenantProfileId(componentLifecycleMsg.getEntityId().getId());
|
TenantProfileId tenantProfileId = new TenantProfileId(componentLifecycleMsg.getEntityId().getId());
|
||||||
tenantProfileCache.evict(tenantProfileId);
|
tenantProfileCache.evict(tenantProfileId);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user