add link logging