add codebases_arg to the logs link (to be used by the back button.