Re: Modify the log directory for dih

2018-10-09 Thread lala
Hi, I installed solr as a service onwindows using nssm. The log4j2.xml file resides in solr\server\resources. I managed to direct logging of the class "LogUpdateProcessorFactory" to a new location (a sub-directory in logs). My problem now is: - I need to create a new log file for each dih request

Re: Modify the log directory for dih

2018-10-05 Thread Charlie Hull
On 04/10/2018 16:35, Shawn Heisey wrote: On 10/4/2018 12:30 AM, lala wrote: Hi, I am using: Solr: 7.4 OS: windows7 I start solr using a service on startup. In that case, I really have no idea where anything is on your system. There is no service installation from the Solr project for Windows

Re: Modify the log directory for dih

2018-10-04 Thread Shawn Heisey
On 10/4/2018 12:30 AM, lala wrote: Hi, I am using: Solr: 7.4 OS: windows7 I start solr using a service on startup. In that case, I really have no idea where anything is on your system. There is no service installation from the Solr project for Windows -- either you obtained that from somewhe

Re: Modify the log directory for dih

2018-10-03 Thread lala
Hi, I am using: Solr: 7.4 OS: windows7 I start solr using a service on startup. Additional info: I am developing a web application that uses solr as search engine, I use DIH to index folders in solr using the FileListEntityProcessor. What I need is logging each index operation in a file that I ca

Re: Modify the log directory for dih

2018-10-03 Thread Shawn Heisey
On 10/2/2018 10:49 PM, lala wrote: Shawn Heisey-2 wrote With a change to the log4j configuration file, you can direct all logs created by the DIH classes to a separate file, no code changes needed. Since I'm a newbee regarding log4j, Can you please give me an example about how to change this co

Re: Modify the log directory for dih

2018-10-02 Thread lala
Thanks a lot Shawn for your reply, For what you said: Shawn Heisey-2 wrote > With a change to the log4j configuration file, you can direct all logs > created by the DIH classes to a separate file, no code changes needed. Since I'm a newbee regarding log4j, Can you please give me an example abou

Re: Modify the log directory for dih

2018-10-02 Thread Shawn Heisey
On 10/2/2018 3:33 AM, lala wrote: I know tha Solr logs the dih operations (& most of other operations) in server\logs\solr.log file. What I want is to configure the dih requests to be logged in another path, with another name if it's possible. DIH doesn't make its own logfile.  Just like the re

Re: Modify the log directory for dih

2018-10-02 Thread lala
I know tha Solr logs the dih operations (& most of other operations) in server\logs\solr.log file. What I want is to configure the dih requests to be logged in another path, with another name if it's possible. -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: Modify the log directory for dih

2018-10-02 Thread Jan Høydahl
I'm not sure which log file you are referring to. You can configure where Solr puts its log files through the SOLR_LOGS_DIR environment setting, see https://lucene.apache.org/solr/guide/7_4/configuring-logging.html#permanent-logging-settings

Modify the log directory for dih

2018-10-02 Thread lala
Hi, Is there a way to set the log directory for a dih request and the log file name? thanks in advance... -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html