add logs in trending solr query builder