Better logging of connections attempts