finish the setup and save action for search_log and result_browse_log