Added logging of host in server mode