Added IP logging.