Add more logging to search stuff