Add logging to host assignment.