Add trace logs to query searcher