You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by jb...@apache.org on 2010/03/28 04:00:24 UTC
svn commit: r928320 -
/cassandra/branches/cassandra-0.6/test/conf/log4j-junit.properties
Author: jbellis
Date: Sun Mar 28 02:00:24 2010
New Revision: 928320
URL: http://svn.apache.org/viewvc?rev=928320&view=rev
Log:
add debug-level logging to system.log in unit test log4j properties. patch by Stu Hood; reviewed by jbellis for CASSANDRA-923
Modified:
cassandra/branches/cassandra-0.6/test/conf/log4j-junit.properties
Modified: cassandra/branches/cassandra-0.6/test/conf/log4j-junit.properties
URL: http://svn.apache.org/viewvc/cassandra/branches/cassandra-0.6/test/conf/log4j-junit.properties?rev=928320&r1=928319&r2=928320&view=diff
==============================================================================
--- cassandra/branches/cassandra-0.6/test/conf/log4j-junit.properties (original)
+++ cassandra/branches/cassandra-0.6/test/conf/log4j-junit.properties Sun Mar 28 02:00:24 2010
@@ -18,10 +18,20 @@
# and the pattern to %c instead of %l. (%l is slower.)
# output messages into a rolling log file as well as stdout
-log4j.rootLogger=WARN,stderr
+log4j.rootLogger=DEBUG,stderr,R
# stderr
log4j.appender.stderr=org.apache.log4j.ConsoleAppender
log4j.appender.stderr.target=System.err
log4j.appender.stderr.layout=org.apache.log4j.PatternLayout
log4j.appender.stderr.layout.ConversionPattern=%5p %d{HH:mm:ss,SSS} %m%n
+log4j.appender.stderr.threshold=WARN
+
+# 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
+log4j.appender.R.File=build/test/logs/system.log