Added config parameter for search logging sample rate.

Change-Id: Icd4bf8af99f72e0df7a603268b4c63a022f664da