hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From acmur...@apache.org
Subject svn commit: r1164301 - /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/conf/log4j.properties
Date Thu, 01 Sep 2011 23:58:13 GMT
Author: acmurthy
Date: Thu Sep  1 23:58:12 2011
New Revision: 1164301

URL: http://svn.apache.org/viewvc?rev=1164301&view=rev
Log:
MAPREDUCE-2735. Add an applications summary log to ResourceManager. Contributed by Thomas
Graves. 

Modified:
    hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/conf/log4j.properties

Modified: hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/conf/log4j.properties
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/conf/log4j.properties?rev=1164301&r1=1164300&r2=1164301&view=diff
==============================================================================
--- hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/conf/log4j.properties
(original)
+++ hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/conf/log4j.properties
Thu Sep  1 23:58:12 2011
@@ -149,3 +149,25 @@ log4j.additivity.org.apache.hadoop.mapre
 #log4j.appender.MRAUDIT.DatePattern=.yyyy-MM-dd
 #log4j.appender.MRAUDIT.layout=org.apache.log4j.PatternLayout
 #log4j.appender.MRAUDIT.layout.ConversionPattern=%d{ISO8601} %p %c: %m%n
+
+#
+# Yarn ResourceManager Application Summary Log 
+#
+# Set the ResourceManager summary log filename
+#yarn.server.resourcemanager.appsummary.log.file=rm-appsummary.log
+# Set the ResourceManager summary log level and appender
+#yarn.server.resourcemanager.appsummary.logger=INFO,RMSUMMARY
+
+# Appender for ResourceManager Application Summary Log - rolled daily
+# Requires the following properties to be set
+#    - hadoop.log.dir (Hadoop Log directory)
+#    - yarn.server.resourcemanager.appsummary.log.file (resource manager app summary log
filename)
+#    - yarn.server.resourcemanager.appsummary.logger (resource manager app summary log level
and appender)
+
+#log4j.logger.org.apache.hadoop.yarn.server.resourcemanager.RMAppManager$ApplicationSummary=${yarn.server.resourcemanager.appsummary.logger}
+#log4j.additivity.org.apache.hadoop.yarn.server.resourcemanager.RMAppManager$ApplicationSummary=false
+#log4j.appender.RMSUMMARY=org.apache.log4j.DailyRollingFileAppender
+#log4j.appender.RMSUMMARY.File=${hadoop.log.dir}/${yarn.server.resourcemanager.appsummary.log.file}
+#log4j.appender.RMSUMMARY.layout=org.apache.log4j.PatternLayout
+#log4j.appender.RMSUMMARY.layout.ConversionPattern=%d{ISO8601} %p %c{2}: %m%n
+#log4j.appender.RMSUMMARY.DatePattern=.yyyy-MM-dd



Mime
View raw message