You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@nutch.apache.org by Mike Smith <mi...@gmail.com> on 2006/09/21 07:58:26 UTC
how to turn on fetcher log?
Hi,
I tried to turn on the fetcher log. I set "fetcher.verbose" to true, but I
still don't see any fetching log. I checked the Fetcher.java, how can I make
this line active:
if (LOG.isInfoEnabled()) { LOG.info("fetching " + url); }
and which file will it be written to?
Thanks, Mike
Re: how to turn on fetcher log?
Posted by Mike Smith <mi...@gmail.com>.
Thank you. Now I can see DEBUG logs.
Mike.
On 9/21/06, Dennis Kubes <nu...@dragonflymc.com> wrote:
>
> It depends on settings in the conf/log4j.properites file for the level
> of logging. The log files are in the HADOOP_LOG_DIR directory which can
> be set in the hadoop-env.sh file in the conf directory. Usually the
> file is called hadoop-phoenix-tasktracker...
>
> Dennis
>
> Mike Smith wrote:
> > Hi,
> >
> > I tried to turn on the fetcher log. I set "fetcher.verbose" to true,
> > but I
> > still don't see any fetching log. I checked the Fetcher.java, how can
> > I make
> > this line active:
> >
> > if (LOG.isInfoEnabled()) { LOG.info("fetching " + url); }
> >
> > and which file will it be written to?
> >
> > Thanks, Mike
> >
>
Re: how to turn on fetcher log?
Posted by Dennis Kubes <nu...@dragonflymc.com>.
It depends on settings in the conf/log4j.properites file for the level
of logging. The log files are in the HADOOP_LOG_DIR directory which can
be set in the hadoop-env.sh file in the conf directory. Usually the
file is called hadoop-phoenix-tasktracker...
Dennis
Mike Smith wrote:
> Hi,
>
> I tried to turn on the fetcher log. I set "fetcher.verbose" to true,
> but I
> still don't see any fetching log. I checked the Fetcher.java, how can
> I make
> this line active:
>
> if (LOG.isInfoEnabled()) { LOG.info("fetching " + url); }
>
> and which file will it be written to?
>
> Thanks, Mike
>