Implemented simple IP logging