You can control the overall logging with

  StrConfOption LOG_LEVEL = new StrConfOption("giraph.logLevel", "info");

But if you turn it to debug, it's going to produce a lot of stuff =)

Avery

On 6/15/13 10:18 AM, Gustavo Enrique Salazar Torres wrote:
Hmm, did you check at log/userlogs/ ? There is directory for every job you
run and on every mapper Hadoop runs it creates a log file.

Cheers
Gustavo


On Sat, Jun 15, 2013 at 2:08 PM, Armando Miraglia
<a.mirag...@student.vu.nl>wrote:

Hi guys,

I would like to log debugging messages to trace the Algorithm on which I
am working. I have tried to add a log4j.properties file in the
configuration direcotry of hadoop with these options:

hadoop.root.logger=DEBUG,console
hadoop.metrics.log.level=DEBUG

but none of them helped me. Any ideas how I could use log.debug to
obtain messages from the algorithm I am writing?

Thanks a lot.
Armando


Reply via email to