ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nc...@apache.org
Subject [26/50] ambari git commit: AMBARI-14790. oozie configs rotate oozie logs that are too small.(vbrodetskyi)
Date Tue, 26 Jan 2016 21:45:29 GMT
AMBARI-14790. oozie configs rotate oozie logs that are too small.(vbrodetskyi)


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

Branch: refs/heads/branch-dev-patch-upgrade
Commit: b711de82431aab468de571e4fa0255316665f265
Parents: 746bc1e
Author: Vitaly Brodetskyi <vbrodetskyi@hortonworks.com>
Authored: Mon Jan 25 16:09:15 2016 +0200
Committer: Vitaly Brodetskyi <vbrodetskyi@hortonworks.com>
Committed: Mon Jan 25 16:09:15 2016 +0200

----------------------------------------------------------------------
 .../OOZIE/4.0.0.2.0/configuration/oozie-log4j.xml               | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/b711de82/ambari-server/src/main/resources/common-services/OOZIE/4.0.0.2.0/configuration/oozie-log4j.xml
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/common-services/OOZIE/4.0.0.2.0/configuration/oozie-log4j.xml
b/ambari-server/src/main/resources/common-services/OOZIE/4.0.0.2.0/configuration/oozie-log4j.xml
index a67a4db..1770c22 100644
--- a/ambari-server/src/main/resources/common-services/OOZIE/4.0.0.2.0/configuration/oozie-log4j.xml
+++ b/ambari-server/src/main/resources/common-services/OOZIE/4.0.0.2.0/configuration/oozie-log4j.xml
@@ -47,9 +47,10 @@
 # If the Java System property 'oozie.log.dir' is not defined at Oozie start up time
 # XLogService sets its value to '${oozie.home}/logs'
 
-log4j.appender.oozie=org.apache.log4j.DailyRollingFileAppender
-log4j.appender.oozie.DatePattern='.'yyyy-MM-dd-HH
+log4j.appender.oozie=org.apache.log4j.RollingFileAppender
 log4j.appender.oozie.File=${oozie.log.dir}/oozie.log
+log4j.appender.oozie.MaxFileSize=200MB
+log4j.appender.oozie.MaxBackupIndex=10
 log4j.appender.oozie.Append=true
 log4j.appender.oozie.layout=org.apache.log4j.PatternLayout
 log4j.appender.oozie.layout.ConversionPattern=%d{ISO8601} %5p %c{1}:%L - SERVER[${oozie.instance.id}]
%m%n


Mime
View raw message