hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Federico Baldo <baldo.feder...@gmail.com>
Subject customize containter-log4j.properties
Date Sat, 05 Apr 2014 11:17:09 GMT
Hi there,
I am trying to customize the log format of containers, as a first step I
have tried using  a containter-log4j.properties  with a different value for
log4j.appender.CLA.layout.ConversionPattern located in the container's
classpath. Tthe result is that the syslog file is written to:


instead of the configured yarn.app.mapreduce.container.log.dir that is
specified in the cmdline as :


Additionally I can see that in Hadoop 2.2.0 the
log4j.configuration=container-log4j.properties is set in
MRApps.addLog4jSystemProperties() and cannot be modified:

Do you have any idea on how to possibly customize this configuration file?

Federico Baldo

View raw message