Fix bug with logging before we have the IP