Adding logging in node monitor