Implement search logs and clearing them