From 390a5a36f467085dc5cf4d78cf6619056f217fe6 Mon Sep 17 00:00:00 2001 From: Maciej Hirsz <1096222+maciejhirsz@users.noreply.github.com> Date: Tue, 25 Aug 2020 18:10:32 +0200 Subject: [PATCH] Log remote IP (#281) --- backend/src/node/connector.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/backend/src/node/connector.rs b/backend/src/node/connector.rs index fc84ad1..fc17d3e 100644 --- a/backend/src/node/connector.rs +++ b/backend/src/node/connector.rs @@ -48,6 +48,8 @@ impl Actor for NodeConnector { impl NodeConnector { pub fn new(aggregator: Addr, locator: Recipient, ip: Option) -> Self { + info!("Node connected: {:?}", ip); + Self { // Garbage id, will be replaced by the Initialize message nid: !0,