Ok, thanks. Unfortunately ant is currently not installed on machine running hadoop. What if I use slf4j + logback just in job's jar?
BTW, is hadoop planning to migrate on this stack from the deprecated Apache commons and log4j? On Tue, 2010-04-27 at 10:57 +0100, Steve Loughran wrote: > Jeff Zhang wrote: > > you should use the log4j rather than the apache common logging > > > > Not necessarily. Hadoop code uses commons logging which defaults to going > to log4j, but lets you plug in different back ends via JVM properties. > This lets you do some tricks with log aggregation. > > If changes to log4.properties don't seem to get picked up, it could be > some JAR has a copy of the file which is getting in the way. You can use > Ant's <whichresource> task to maybe track this down. > > <whichresource resource="/log4j.properties" property="log4j.url" > classpathref="some classpath reference">
