cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eev...@apache.org
Subject svn commit: r910703 - in /incubator/cassandra/trunk: build.xml test/conf/log4j-junit.properties
Date Tue, 16 Feb 2010 21:31:22 GMT
Author: eevans
Date: Tue Feb 16 21:31:22 2010
New Revision: 910703

URL: http://svn.apache.org/viewvc?rev=910703&view=rev
Log:
quiet stderr log output introduced by hadoop-core

Added:
    incubator/cassandra/trunk/test/conf/log4j-junit.properties
Modified:
    incubator/cassandra/trunk/build.xml

Modified: incubator/cassandra/trunk/build.xml
URL: http://svn.apache.org/viewvc/incubator/cassandra/trunk/build.xml?rev=910703&r1=910702&r2=910703&view=diff
==============================================================================
--- incubator/cassandra/trunk/build.xml (original)
+++ incubator/cassandra/trunk/build.xml Tue Feb 16 21:31:22 2010
@@ -343,6 +343,7 @@
       <formatter type="xml" usefile="true"/>
       <formatter type="brief" usefile="false"/>
       <jvmarg value="-Dstorage-config=${test.conf}"/>
+      <jvmarg value="-Dlog4j.configuration=log4j-junit.properties" />
       <jvmarg value="-ea"/>
       <classpath>
         <path refid="cassandra.classpath" />

Added: incubator/cassandra/trunk/test/conf/log4j-junit.properties
URL: http://svn.apache.org/viewvc/incubator/cassandra/trunk/test/conf/log4j-junit.properties?rev=910703&view=auto
==============================================================================
--- incubator/cassandra/trunk/test/conf/log4j-junit.properties (added)
+++ incubator/cassandra/trunk/test/conf/log4j-junit.properties Tue Feb 16 21:31:22 2010
@@ -0,0 +1,27 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# for production, you should probably set the root to INFO
+# 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
+
+# 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



Mime
View raw message