show ip in log

tested on localhost only but it should work... i hope