You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@nutch.apache.org by Sebastian Nagel <wa...@googlemail.com> on 2016/08/08 08:30:31 UTC
Re: Nutch 1.x log directory
Hi Mark,
sorry, for the late answer.
-Dhadoop.log.dir=...
works only if you run the Nutch commands directly via Java
If you use bin/nutch or bin/crawl it's possible to set the
log directory by
export NUTCH_LOG_DIR=...
The value of this environment variable (or if it's undefined
the default $NUTCH_HOME/logs/) is then passed via
-Dhadoop.log.dir=$NUTCH_LOG_DIR
Sebastian
On 07/31/2016 08:42 PM, mark mark wrote:
> Hi,
>
> We are using nutch 1.11 on single machine, need to change nutch logs
> directory at runtime which is by default under
> nutchHomeDirectory/logs/hadoop.log.
>
> Tried passing $hadoop.log.dir in -D option with crawl command but no effect.
>
> Thanks Mark
>