log the visiting ip address

Signed-off-by: Ray Allen <ray@ray-Lenovo-IdeaPad-S400.(none)>