Ip addresses in the logs

This corrects some ip addresses that were appearing wrong in the logs...