Added logging of IPs to redis