Write traceroute information into log.