Hi,

yes, this is possible by pointing the environment variable
NUTCH_LOG_DIR to a different folder.
The default is: $NUTCH_HOME/logs/

See also the script bin/nutch which is called by bin/crawl:
 https://github.com/apache/nutch/blob/master/src/bin/nutch#L30
(it's also possible to change the log file name)

Best,
Sebastian

On 8/2/23 09:58, Raj Chidara wrote:
Hello
   Currently, whenever we run bin/crawl, the generated log is stored in logs 
folder of Nutch.  Can we change this behavior so that I can store log file in 
my own folder say /root/mylog/nutchlog.txt.  Please suggest.




Thanks and Regards

Raj Chidara

Reply via email to