Logging with IP addresses