Adding search logger step 4