Re: using log4j to suppress messages
This is hbase class, not hadoop so your setting should be: log4j.logger.org.apache.hadoop.hbase.mapreduce.LoadIncrementalHFiles=WARN Plus for consistency you probably want to update log4j.properties under hbase/conf Of course if both are sourced it doe snot matter, but anyway. Thanks. From: Jonathan Bishop jbishop@gmail.com To: user@hadoop.apache.org Sent: Monday, October 29, 2012 4:59 PM Subject: using log4j to suppress messages Hi, I would like to suppress messages on the console like... 12/10/29 16:56:03 INFO mapreduce.LoadIncrementalHFiles: Trying to load hfile=hdfs... So I added the following line to log4j.properties in my hadoop/conf dir... .mapreduce.LoadIncrementalHFiles=WARN and rebooted hbase and hadoop. But I still see the messages. I also tried... log4j.logger.org.apache.hadoop.mapreduce.LoadIncrementalHFiles=WARN but no luck. What am I doing wrong? Thanks, Jon
using log4j to suppress messages
Hi, I would like to suppress messages on the console like... 12/10/29 16:56:03 INFO mapreduce.LoadIncrementalHFiles: Trying to load hfile=hdfs... So I added the following line to log4j.properties in my hadoop/conf dir... .mapreduce.LoadIncrementalHFiles=WARN and rebooted hbase and hadoop. But I still see the messages. I also tried... log4j.logger.org.apache.hadoop.mapreduce.LoadIncrementalHFiles=WARN but no luck. What am I doing wrong? Thanks, Jon
Re: using log4j to suppress messages
Since this is from HBase (better to ask on u...@hbase.apache.org btw) the right line would be: log4j.logger.org.apache.hadoop.hbase.mapreduce.LoadIncrementalHFiles=WARN On Tue, Oct 30, 2012 at 5:29 AM, Jonathan Bishop jbishop@gmail.com wrote: Hi, I would like to suppress messages on the console like... 12/10/29 16:56:03 INFO mapreduce.LoadIncrementalHFiles: Trying to load hfile=hdfs... So I added the following line to log4j.properties in my hadoop/conf dir... .mapreduce.LoadIncrementalHFiles=WARN and rebooted hbase and hadoop. But I still see the messages. I also tried... log4j.logger.org.apache.hadoop.mapreduce.LoadIncrementalHFiles=WARN but no luck. What am I doing wrong? Thanks, Jon -- Harsh J