change logging to show permalink instead of text