Alternative: only have one place where the actual IP is logged.

My suggestion: in net.h, at the end of the CNode::CNode() constructor:

if (hSocket != INVALID_SOCKET)
    LogPrint("net", "Added connection to %s peer=%d", addrNameIn, id);