cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eev...@apache.org
Subject svn commit: r893353 - /incubator/cassandra/branches/cassandra-0.5/conf/log4j.properties
Date Tue, 22 Dec 2009 23:52:47 GMT
Author: eevans
Date: Tue Dec 22 23:52:46 2009
New Revision: 893353

URL: http://svn.apache.org/viewvc?rev=893353&view=rev
Log:
change log4j defaults to RollingFileAppender

Modified:
    incubator/cassandra/branches/cassandra-0.5/conf/log4j.properties

Modified: incubator/cassandra/branches/cassandra-0.5/conf/log4j.properties
URL: http://svn.apache.org/viewvc/incubator/cassandra/branches/cassandra-0.5/conf/log4j.properties?rev=893353&r1=893352&r2=893353&view=diff
==============================================================================
--- incubator/cassandra/branches/cassandra-0.5/conf/log4j.properties (original)
+++ incubator/cassandra/branches/cassandra-0.5/conf/log4j.properties Tue Dec 22 23:52:46 2009
@@ -24,9 +24,10 @@
 log4j.appender.stdout=org.apache.log4j.ConsoleAppender
 log4j.appender.stdout.layout=org.apache.log4j.SimpleLayout
 
-# rolling log file ("system.log
-log4j.appender.R=org.apache.log4j.DailyRollingFileAppender
-log4j.appender.R.DatePattern='.'yyyy-MM-dd-HH
+# rolling log file
+log4j.appender.R=org.apache.log4j.RollingFileAppender
+log4j.appender.file.maxFileSize=20MB
+log4j.appender.file.maxBackupIndex=50
 log4j.appender.R.layout=org.apache.log4j.PatternLayout
 log4j.appender.R.layout.ConversionPattern=%5p [%t] %d{ISO8601} %F (line %L) %m%n
 # Edit the next line to point to your logs directory



Mime
View raw message