ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From maha...@apache.org
Subject git commit: AMBARI-3439. Ambari is setting the max file size to 1MB for hadoop and thus creates lots of logs. (mahadev)
Date Thu, 03 Oct 2013 00:14:21 GMT
Updated Branches:
  refs/heads/trunk 83d03436a -> 1b300393d


AMBARI-3439. Ambari is setting the max file size to 1MB for hadoop and thus creates lots of
logs. (mahadev)


Project: http://git-wip-us.apache.org/repos/asf/incubator-ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ambari/commit/1b300393
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ambari/tree/1b300393
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ambari/diff/1b300393

Branch: refs/heads/trunk
Commit: 1b300393d8ea0d28dcc30b59c56d2dfb65b7ff43
Parents: 83d0343
Author: Mahadev Konar <mahadev@apache.org>
Authored: Wed Oct 2 17:05:16 2013 -0700
Committer: Mahadev Konar <mahadev@apache.org>
Committed: Wed Oct 2 17:14:22 2013 -0700

----------------------------------------------------------------------
 .../puppet/modules/hdp-hadoop/templates/log4j.properties.erb     | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/1b300393/ambari-agent/src/main/puppet/modules/hdp-hadoop/templates/log4j.properties.erb
----------------------------------------------------------------------
diff --git a/ambari-agent/src/main/puppet/modules/hdp-hadoop/templates/log4j.properties.erb
b/ambari-agent/src/main/puppet/modules/hdp-hadoop/templates/log4j.properties.erb
index 32d30d4..3eede34 100644
--- a/ambari-agent/src/main/puppet/modules/hdp-hadoop/templates/log4j.properties.erb
+++ b/ambari-agent/src/main/puppet/modules/hdp-hadoop/templates/log4j.properties.erb
@@ -131,8 +131,8 @@ log4j.appender.RFA=org.apache.log4j.RollingFileAppender
 log4j.appender.RFA.File=${hadoop.log.dir}/${hadoop.log.file}
 
 # Logfile size and and 30-day backups
-log4j.appender.RFA.MaxFileSize=1MB
-log4j.appender.RFA.MaxBackupIndex=30
+log4j.appender.RFA.MaxFileSize=256MB
+log4j.appender.RFA.MaxBackupIndex=10
 
 log4j.appender.RFA.layout=org.apache.log4j.PatternLayout
 log4j.appender.RFA.layout.ConversionPattern=%d{ISO8601} %-5p %c{2} - %m%n


Mime
View raw message