adding IP to logfile