added search term logger