Re: Solr 7.7.0: Log file not getting generated

2019-11-11 Thread Paresh
Hi Paras, I have db-data-config.xml file with entities defined for data population and update. As a part of some process, I want to delete the documents from Solr for data deleted in RDBMS. For this purpose I am writing SQL to fetch data from RDBMS and delete it in Solr using $deleteDocByQuery.

Re: Solr 7.7.0: Log file not getting generated

2019-11-11 Thread Paras Lehana
Hey Paresh, I have never worked with "SQL". Did you mean DIH logging? A simple google search yields this: https://grokbase.com/t/lucene/solr-user/12618pmah7/how-to-show-dih-query-sql-in-log-file Turn the Solr logging level to "FINE" for the DIH packages/classes and they will > show up in the log.

Re: Solr 7.7.0: Log file not getting generated

2019-11-11 Thread Paresh
How can we see SQL in log file? -- Sent from: https://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: Solr 7.7.0: Log file not getting generated

2019-11-11 Thread Paresh
In my environment I was creating a windows service for Solr and there I forgot to specify -Dsolr.log.dir as a command line for Windows Service. After defining it to correct path and reinstalling solr as service solved the issue. -- Sent from: https://lucene.472066.n3.nabble.com/Solr-User-f472068

Re: Solr 7.7.0: Log file not getting generated

2019-11-11 Thread Paras Lehana
Hi Paresh, Glad that it worked. For the sake of future views, please try to explain how it worked and what you did. It will help users having similar issues in future. On Mon, 11 Nov 2019 at 14:32, Paresh wrote: > Thanks Paras. It solved my problem. I am now able to see the logs. > > > > -- > S

Re: Solr 7.7.0: Log file not getting generated

2019-11-11 Thread Paresh
Thanks Paras. It solved my problem. I am now able to see the logs. -- Sent from: https://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: Solr 7.7.0: Log file not getting generated

2019-11-10 Thread Paras Lehana
Hey Paresh, Please see permanent logging in Configuring Logging . Check what is your log directory. On Mon, 11 Nov 2019 at 12:27, Paresh wrote: > Hi, > > We just moved to Solr 7.7.0 and log file is not

Solr 7.7.0: Log file not getting generated

2019-11-10 Thread Paresh
Hi, We just moved to Solr 7.7.0 and log file is not getting generated. Even log folder is not present there. I manually enabled all the logs through Solr-admin UI but it is not working. Is there any other way to enable the logs and how can we enable it at the start of Solr? Any help is apprecia