Added output in log when an IP is null 

IP can be null if the hostname cannot be resolved or it's a bad IP