gora-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lewi...@apache.org
Subject svn commit: r1568040 - in /gora/trunk: CHANGES.txt conf/log4j.properties
Date Thu, 13 Feb 2014 21:20:35 GMT
Author: lewismc
Date: Thu Feb 13 21:20:35 2014
New Revision: 1568040

URL: http://svn.apache.org/r1568040
Log:
GORA-171 Implement Daily Rolling File Appender for localised Gora logging

Modified:
    gora/trunk/CHANGES.txt
    gora/trunk/conf/log4j.properties

Modified: gora/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/gora/trunk/CHANGES.txt?rev=1568040&r1=1568039&r2=1568040&view=diff
==============================================================================
--- gora/trunk/CHANGES.txt (original)
+++ gora/trunk/CHANGES.txt Thu Feb 13 21:20:35 2014
@@ -4,6 +4,8 @@
 
 Gora Change Log
 
+* GORA-171 Implement Daily Rolling File Appender for localised Gora logging (lewismc)
+
 * GORA-119 implement a filter enabled scan in gora (ferdy, kturner, enis, Tien Nguyen Manh
via lewismc)
 
 * GORA-290 StatefulHashMap removes the entry when put with same value (Alparslan Avci via
hsaputra)

Modified: gora/trunk/conf/log4j.properties
URL: http://svn.apache.org/viewvc/gora/trunk/conf/log4j.properties?rev=1568040&r1=1568039&r2=1568040&view=diff
==============================================================================
--- gora/trunk/conf/log4j.properties (original)
+++ gora/trunk/conf/log4j.properties Thu Feb 13 21:20:35 2014
@@ -13,15 +13,22 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-gora.root.logger=INFO,console
+# Define some default values that can be overridden by system properties
+# Logging Threshold
+gora.root.logger=INFO,DRFA
 gora.log.dir=.
 gora.log.file=gora.log
+log4j.threshhold=ALL
 
+# RootLogger - DailyRollingFileAppender
 log4j.rootLogger=${gora.root.logger}
 
-# Define some default values that can be overridden by system properties
-# Logging Threshold
-log4j.threshhold=ALL
+#special logging requirements for some commandline tools
+log4j.logger.org.apache.gora.compiler.GoraCompiler=INFO,console
+log4j.logger.org.apache.avro.specific.SpecificCompiler=INFO,console
+log4j.logger.org.apache.gora.dynamodb.compiler.GoraDynamoDBCompiler=INFO,console
+log4j.logger.org.apache.gora.tutorial.log.LogManager=INFO,console
+log4j.logger.org.apache.gora.tutorial.log.LogAnalytics=INFO,console
 
 #
 # Daily Rolling File Appender
@@ -33,7 +40,7 @@ log4j.appender.DRFA.File=${gora.log.dir}
 log4j.appender.DRFA.DatePattern=.yyyy-MM-dd
 
 # 30-day backup
-log4j.appender.DRFA.MaxBackupIndex=30
+#log4j.appender.DRFA.MaxBackupIndex=30
 log4j.appender.DRFA.layout=org.apache.log4j.PatternLayout
 
 # Pattern format: Date LogLevel LoggerName LogMessage
@@ -41,7 +48,6 @@ log4j.appender.DRFA.layout.ConversionPat
 # Debugging Pattern format
 #log4j.appender.DRFA.layout.ConversionPattern=%d{ISO8601} %-5p %c{2} (%F:%M(%L)) - %m%n
 
-
 #
 # console
 # Add "console" to rootlogger above if you want to use this 
@@ -52,6 +58,21 @@ log4j.appender.console.layout=org.apache
 #log4j.appender.console.layout.ConversionPattern=%d{yy/MM/dd HH:mm:ss} %p %c{2}: %m%n
 log4j.appender.console.layout.ConversionPattern=%-5p %-30.30c{2} - %m%n
 
+#
+# Rolling File Appender
+#
+
+#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.layout=org.apache.log4j.PatternLayout
+#log4j.appender.RFA.layout.ConversionPattern=%d{ISO8601} %-5p %c{2} - %m%n
+#log4j.appender.RFA.layout.ConversionPattern=%d{ISO8601} %-5p %c{2} (%F:%M(%L)) - %m%n
+
 # Custom Logging levels
 log4j.logger.net.sf.jml=WARN
 log4j.logger.org.apache=WARN



Mime
View raw message