Add logging for IP.