hadoop-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sanjay X. Jain" <sanja...@yahoo-inc.com>
Subject A log4jconfig.xml file
Date Wed, 11 Aug 2010 20:56:15 GMT
I have a log4jconfig.xml file that is loaded in my hadoop job code as: DOMConfigurator.configure("log4jconfig.xml");
How should I pass this file to the job (and its mapper and reducer)? I have tried to include
it in CLASSPATH env variable, and by including the file in job's jar file, both don't seem
to work.
Purpose: want to control what is logged where in my hadoop job's classes/packages.

Any clues will be really helpful.

Thx!
Sanjay

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message