You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@oozie.apache.org by an...@apache.org on 2012/02/25 01:50:43 UTC

svn commit: r1293499 - in /incubator/oozie/trunk: core/pom.xml core/src/main/conf/oozie-log4j.properties pom.xml release-log.txt

Author: angeloh
Date: Sat Feb 25 00:50:43 2012
New Revision: 1293499

URL: http://svn.apache.org/viewvc?rev=1293499&view=rev
Log:
Oozie-626 Roll the oozie log file in GZ format (Kiran Nagasubramanian via Angelo)

Modified:
    incubator/oozie/trunk/core/pom.xml
    incubator/oozie/trunk/core/src/main/conf/oozie-log4j.properties
    incubator/oozie/trunk/pom.xml
    incubator/oozie/trunk/release-log.txt

Modified: incubator/oozie/trunk/core/pom.xml
URL: http://svn.apache.org/viewvc/incubator/oozie/trunk/core/pom.xml?rev=1293499&r1=1293498&r2=1293499&view=diff
==============================================================================
--- incubator/oozie/trunk/core/pom.xml (original)
+++ incubator/oozie/trunk/core/pom.xml Sat Feb 25 00:50:43 2012
@@ -111,6 +111,12 @@
         </dependency>
 
         <dependency>
+            <groupId>log4j</groupId>
+            <artifactId>apache-log4j-extras</artifactId>
+            <scope>compile</scope>
+        </dependency>
+
+        <dependency>
             <groupId>commons-el</groupId>
             <artifactId>commons-el</artifactId>
             <scope>compile</scope>

Modified: incubator/oozie/trunk/core/src/main/conf/oozie-log4j.properties
URL: http://svn.apache.org/viewvc/incubator/oozie/trunk/core/src/main/conf/oozie-log4j.properties?rev=1293499&r1=1293498&r2=1293499&view=diff
==============================================================================
--- incubator/oozie/trunk/core/src/main/conf/oozie-log4j.properties (original)
+++ incubator/oozie/trunk/core/src/main/conf/oozie-log4j.properties Sat Feb 25 00:50:43 2012
@@ -30,6 +30,13 @@
 
 log4j.appender.oozie=org.apache.log4j.DailyRollingFileAppender
 log4j.appender.oozie.DatePattern='.'yyyy-MM-dd-HH
+
+# Uncomment the below four lines if automatic hourly compression to "gz" is required
+# log4j.rootLogger=DEBUG, oozie
+# log4j.appender.oozie=org.apache.log4j.rolling.RollingFileAppender
+# log4j.appender.oozie.RollingPolicy=org.apache.log4j.rolling.TimeBasedRollingPolicy
+# log4j.appender.oozie.RollingPolicy.FileNamePattern=${oozie.log.dir}/oozie.log-%d{yyyy-MM-dd-HH}.gz
+
 log4j.appender.oozie.File=${oozie.log.dir}/oozie.log
 log4j.appender.oozie.Append=true
 log4j.appender.oozie.layout=org.apache.log4j.PatternLayout

Modified: incubator/oozie/trunk/pom.xml
URL: http://svn.apache.org/viewvc/incubator/oozie/trunk/pom.xml?rev=1293499&r1=1293498&r2=1293499&view=diff
==============================================================================
--- incubator/oozie/trunk/pom.xml (original)
+++ incubator/oozie/trunk/pom.xml Sat Feb 25 00:50:43 2012
@@ -460,7 +460,7 @@
             <dependency>
                 <groupId>log4j</groupId>
                 <artifactId>log4j</artifactId>
-                <version>1.2.15</version>
+                <version>1.2.16</version>
                 <exclusions>
                     <exclusion>
                         <groupId>com.sun.jdmk</groupId>
@@ -486,6 +486,12 @@
             </dependency>
 
             <dependency>
+		<groupId>log4j</groupId>
+		<artifactId>apache-log4j-extras</artifactId>
+		<version>1.1</version>
+            </dependency>
+
+            <dependency>
                 <groupId>javax.servlet</groupId>
                 <artifactId>servlet-api</artifactId>
                 <version>2.5</version>

Modified: incubator/oozie/trunk/release-log.txt
URL: http://svn.apache.org/viewvc/incubator/oozie/trunk/release-log.txt?rev=1293499&r1=1293498&r2=1293499&view=diff
==============================================================================
--- incubator/oozie/trunk/release-log.txt (original)
+++ incubator/oozie/trunk/release-log.txt Sat Feb 25 00:50:43 2012
@@ -1,5 +1,6 @@
 -- Oozie 3.2.0 release
 
+Oozie-626 Roll the oozie log file in GZ format (Kiran Nagasubramanian via Angelo)
 OOZIE-693 Fork-join validation doesn't check for the 'error to' transition of nodes (Virag Kothari via Angelo)
 OOZIE-616 Moving action prepare FS execution to LauncherMapper ( Kiran Nagasubramanian via Angelo)
 OOZIE-687 The start time of the action is set after the job is already submitted to hadoop (Mohamed Battisha vis Angelo)