refine link from failure page to log page.