You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-user@hadoop.apache.org by Aaron Kimball <aa...@cloudera.com> on 2010/02/19 00:48:11 UTC

Re: Global Loglevel

klaus: did you restart the hadoop daemons after changing log4j.properties?
(Did you change this on all nodes in your system?)

I noticed that bin/hadoop-daemon.sh has "export
HADOOP_ROOT_LOGGER="INFO,DRFA"" in it, which doesn't accept a default value;
you could try editing this file.

If you're referring to user processes (e.g., your own program run by
'bin/hadoop jar ...') you could try running this with:
HADOOP_ROOT_LOGGER=ERROR,console bin/hadoop jar ....

- Aaron

On Wed, Jan 13, 2010 at 7:19 PM, freestyler <ko...@gmail.com> wrote:

> # Custom Logging levels
> try
> log4j.logger.org.apache.hadoop=ERROR
>
>
> Best Regards
>
>
>
> On Thu, Jan 14, 2010 at 11:21 AM, Klaus Nagel <da...@gibtsdochgar.net>wrote:
>
>> Hi everybody, I have another little question...
>> I am using hadoop 0.20.1 and want to set the Logging Level for all
>> processes to error...
>>
>> editing log4j.properties and changing the root.logger to
>>
>> hadoop.root.logger=ERROR,console
>>
>> doesn't seem to work for me...
>>
>>
>> ...any hints?
>>
>> best regards: Klaus
>>
>>
>