You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@nutch.apache.org by Amarnatha Reddy <po...@gmail.com> on 2018/09/04 16:43:58 UTC
redirect bin/crwal log output to some other file
Hi All,
We are using bin/crawl command to crawl and index data into solr,
currently the output is writing into default logs/hadoop.log file, so my
requirement is how can i log data writing into different file
bin/crawl -i -D solr.server.url=http://localhost:8983/solr/jeepkr -s urls/
crawl/ 1 -->this will write log details under default path logs/hadoop.log
How can i write log path by passing as part of bin/crawl?
ex: bin/crawl -i -D solr.server.url=http://localhost:8983/solr/jeepkr -s
urls/ crawl/ 1 >/tmp/myurls.log
--
-----------------------------
Thanks and Regards,
*Amarnath Polu*
Re: redirect bin/crwal log output to some other file
Posted by "polu.amar" <po...@gmail.com>.
Hi Lewis,
Thanks for your valuable time and yes Option one is fine for time being.
Thanks,
Amarnath Polu
--
Sent from: http://lucene.472066.n3.nabble.com/Nutch-User-f603147.html