add blank for logger and return null if link is empty