You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@nutch.apache.org by Koch Martina <Ko...@huberverlag.de> on 2009/02/19 11:33:16 UTC
Fetcher2 doesn't print status information on console
Hi,
I'm testing Fetcher2 of the current trunk and wondered why Fetcher2 doesn't report any status on the console.
Other tools like Injector or Fetcher report not only in the hadoop.log, but also to STDOUT to some extent, e.g. "Generator: starting", "Fetcher: done" and so on.
Did I configure something wrong or is this a wanted behaviour in Fetcher2?
I can't see any difference in the logging logic of Fetcher2.
Thanks in advance.
Kind regards,
Martina
Re: Fetcher2 doesn't print status information on console
Posted by Doğacan Güney <do...@gmail.com>.
On Thu, Feb 19, 2009 at 12:33, Koch Martina <Ko...@huberverlag.de> wrote:
> Hi,
>
> I'm testing Fetcher2 of the current trunk and wondered why Fetcher2 doesn't report any status on the console.
> Other tools like Injector or Fetcher report not only in the hadoop.log, but also to STDOUT to some extent, e.g. "Generator: starting", "Fetcher: done" and so on.
>
> Did I configure something wrong or is this a wanted behaviour in Fetcher2?
> I can't see any difference in the logging logic of Fetcher2.
>
Add this line to your conf/log4j.properties
log4j.logger.org.apache.nutch.fetcher.Fetcher2=INFO,cmdstdout
We never got to do that because Fetcher2 was meant to replace Fetcher
(or I am too lazy,
I prefer the first option:)
> Thanks in advance.
>
> Kind regards,
> Martina
>
>
--
Doğacan Güney
AW: Fetcher2 doesn't print status information on console
Posted by Koch Martina <Ko...@huberverlag.de>.
Thank you both! That was quick ;-)
Martina
-----Ursprüngliche Nachricht-----
Von: Sami Siren [mailto:ssiren@gmail.com]
Gesendet: Donnerstag, 19. Februar 2009 11:38
An: nutch-user@lucene.apache.org
Betreff: Re: Fetcher2 doesn't print status information on console
Koch Martina wrote:
> Hi,
>
> I'm testing Fetcher2 of the current trunk and wondered why Fetcher2 doesn't report any status on the console.
> Other tools like Injector or Fetcher report not only in the hadoop.log, but also to STDOUT to some extent, e.g. "Generator: starting", "Fetcher: done" and so on.
>
> Did I configure something wrong or is this a wanted behaviour in Fetcher2?
> I can't see any difference in the logging logic of Fetcher2.
>
The logging configuration is in file conf/log4j.properties, there you
have entry for Fetcher:
log4j.logger.org.apache.nutch.fetcher.Fetcher=INFO,cmdstdout
but not for Fetrcher2. If you add such line for Fetcher2 it should start
outputting logging to stdout.
--
Sami Siren
> Thanks in advance.
>
> Kind regards,
> Martina
>
>
>
Re: Fetcher2 doesn't print status information on console
Posted by Sami Siren <ss...@gmail.com>.
Koch Martina wrote:
> Hi,
>
> I'm testing Fetcher2 of the current trunk and wondered why Fetcher2 doesn't report any status on the console.
> Other tools like Injector or Fetcher report not only in the hadoop.log, but also to STDOUT to some extent, e.g. "Generator: starting", "Fetcher: done" and so on.
>
> Did I configure something wrong or is this a wanted behaviour in Fetcher2?
> I can't see any difference in the logging logic of Fetcher2.
>
The logging configuration is in file conf/log4j.properties, there you
have entry for Fetcher:
log4j.logger.org.apache.nutch.fetcher.Fetcher=INFO,cmdstdout
but not for Fetrcher2. If you add such line for Fetcher2 it should start
outputting logging to stdout.
--
Sami Siren
> Thanks in advance.
>
> Kind regards,
> Martina
>
>
>