Added IP address logging