On 29/09/10 00:12, Alex Kozlov wrote:
Hi Leo,
What distribution are you using? Sometimes the log4j.properties is packed
inside .jar file, which is picked first, so you need to explicitly give a
java option '-Dlog4j.configuration=path-to-your-log4j-file' in the
corresponding daemon flags.
For the benefit of the list archives: the log4j properties are being
set inside the hadoop daemon shell script (here is the relevant line,
as pointed out to me by Boris)
bin/hadoop-daemon.sh:export HADOOP_ROOT_LOGGER=INFO,DRFA
On Tue, Sep 28, 2010 at 4:12 PM, Alex Kozlov ale...@cloudera.com
We are looking for ways to prevent Hadoop daemon logs from piling up
(over time they can reach several tens of GB and become a nuisance).
Unfortunately, the log4j DRFA class doesn't seem to provide an easy
way to limit the number of files it creates. I would like to try
switching to RFA with set