TS-1623, TS-1635: better handling of host in field and not URL for logging.