additional logging work for link expansion