Change log in case non-local originator

This commit is contained in:
Dmytro Skarzhynets 2023-10-24 15:15:39 +03:00
parent 24dda7a3ea
commit 1e001dda0a

View File

@ -83,7 +83,7 @@ public class TbDeviceStateNode implements TbNode {
public void onMsg(TbContext ctx, TbMsg msg) {
var originator = msg.getOriginator();
if (!ctx.isLocalEntity(originator)) {
log.warn("[{}] Node [{}] received message from non-local entity [{}]!",
log.warn("[{}][{}] Received message from non-local entity [{}]!",
ctx.getTenantId().getId(), ctx.getSelfId().getId(), originator.getId());
ctx.ack(msg);
return;