You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tika.apache.org by ju...@apache.org on 2008/05/06 08:46:07 UTC

svn commit: r653688 - in /incubator/tika/trunk: pom.xml src/test/resources/log4j.properties src/test/resources/log4j/

Author: jukka
Date: Mon May  5 23:46:05 2008
New Revision: 653688

URL: http://svn.apache.org/viewvc?rev=653688&view=rev
Log:
Simplified log4j configuration for unit tests

Added:
    incubator/tika/trunk/src/test/resources/log4j.properties
      - copied, changed from r653548, incubator/tika/trunk/src/test/resources/log4j/log4j.properties
Removed:
    incubator/tika/trunk/src/test/resources/log4j/
Modified:
    incubator/tika/trunk/pom.xml

Modified: incubator/tika/trunk/pom.xml
URL: http://svn.apache.org/viewvc/incubator/tika/trunk/pom.xml?rev=653688&r1=653687&r2=653688&view=diff
==============================================================================
--- incubator/tika/trunk/pom.xml (original)
+++ incubator/tika/trunk/pom.xml Mon May  5 23:46:05 2008
@@ -254,14 +254,6 @@
         </plugin>
         <plugin>
           <artifactId>maven-surefire-plugin</artifactId>
-          <configuration>
-            <systemProperties>
-              <property>
-                <name>log4j.configuration</name>
-                <value>log4j/log4j.properties</value>
-              </property>
-            </systemProperties>
-          </configuration>
         </plugin>
       <plugin>
         <artifactId>maven-jar-plugin</artifactId>

Copied: incubator/tika/trunk/src/test/resources/log4j.properties (from r653548, incubator/tika/trunk/src/test/resources/log4j/log4j.properties)
URL: http://svn.apache.org/viewvc/incubator/tika/trunk/src/test/resources/log4j.properties?p2=incubator/tika/trunk/src/test/resources/log4j.properties&p1=incubator/tika/trunk/src/test/resources/log4j/log4j.properties&r1=653548&r2=653688&rev=653688&view=diff
==============================================================================
--- incubator/tika/trunk/src/test/resources/log4j/log4j.properties (original)
+++ incubator/tika/trunk/src/test/resources/log4j.properties Mon May  5 23:46:05 2008
@@ -14,7 +14,7 @@
 # limitations under the License.
 
 #info,debug, error,fatal ...
-log4j.rootLogger=info,stdout,R
+log4j.rootLogger=info,stdout
 
 #console
 log4j.appender.stdout=org.apache.log4j.ConsoleAppender
@@ -22,14 +22,3 @@
 
 # Pattern to output the caller's file name and line number.
 log4j.appender.stdout.layout.ConversionPattern=%5p [%t] (%F:%L) - %m%n
-
-#file
-log4j.appender.R=org.apache.log4j.RollingFileAppender
-log4j.appender.R.File=tika.log
-
-log4j.appender.R.MaxFileSize=100KB
-# Keep one backup file
-log4j.appender.R.MaxBackupIndex=1
-
-log4j.appender.R.layout=org.apache.log4j.PatternLayout
-log4j.appender.R.layout.ConversionPattern=%p %t %c - %m%n