Using log_searches as logging statement