logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From grobme...@apache.org
Subject svn commit: r1352896 - in /logging/log4j/branches/log4j12-bz53299/core/src/test: java/org/apache/log4j/varia/ErrorHandlerTestCase.java resources/input/fallback1.properties resources/input/xml/fallback1.xml
Date Fri, 22 Jun 2012 14:00:04 GMT
Author: grobmeier
Date: Fri Jun 22 14:00:03 2012
New Revision: 1352896

URL: http://svn.apache.org/viewvc?rev=1352896&view=rev
Log:
explicit use a different log file than others as tests interfere (issues still unfixed)

Modified:
    logging/log4j/branches/log4j12-bz53299/core/src/test/java/org/apache/log4j/varia/ErrorHandlerTestCase.java
    logging/log4j/branches/log4j12-bz53299/core/src/test/resources/input/fallback1.properties
    logging/log4j/branches/log4j12-bz53299/core/src/test/resources/input/xml/fallback1.xml

Modified: logging/log4j/branches/log4j12-bz53299/core/src/test/java/org/apache/log4j/varia/ErrorHandlerTestCase.java
URL: http://svn.apache.org/viewvc/logging/log4j/branches/log4j12-bz53299/core/src/test/java/org/apache/log4j/varia/ErrorHandlerTestCase.java?rev=1352896&r1=1352895&r2=1352896&view=diff
==============================================================================
--- logging/log4j/branches/log4j12-bz53299/core/src/test/java/org/apache/log4j/varia/ErrorHandlerTestCase.java
(original)
+++ logging/log4j/branches/log4j12-bz53299/core/src/test/java/org/apache/log4j/varia/ErrorHandlerTestCase.java
Fri Jun 22 14:00:03 2012
@@ -35,8 +35,8 @@ import org.apache.log4j.PropertyConfigur
 
 public class ErrorHandlerTestCase extends TestCase {
 
-  static String TEMP = "output/temp";
-  static String FILTERED = "output/filtered";
+  static String TEMP = "output/ErrorHandlerTestCase-temp";
+  static String FILTERED = "output/ErrorHandlerTestCase-filtered";
 
 
   static String EXCEPTION1 = "java.lang.Exception: Just testing";

Modified: logging/log4j/branches/log4j12-bz53299/core/src/test/resources/input/fallback1.properties
URL: http://svn.apache.org/viewvc/logging/log4j/branches/log4j12-bz53299/core/src/test/resources/input/fallback1.properties?rev=1352896&r1=1352895&r2=1352896&view=diff
==============================================================================
--- logging/log4j/branches/log4j12-bz53299/core/src/test/resources/input/fallback1.properties
(original)
+++ logging/log4j/branches/log4j12-bz53299/core/src/test/resources/input/fallback1.properties
Fri Jun 22 14:00:03 2012
@@ -18,13 +18,13 @@ log4j.appender.PRIMARY=org.apache.log4j.
 log4j.appender.PRIMARY.errorhandler=org.apache.log4j.varia.FallbackErrorHandler
 log4j.appender.PRIMARY.errorhandler.root-ref=true
 log4j.appender.PRIMARY.errorhandler.appender-ref=FALLBACK
-log4j.appender.PRIMARY.file=/xyz/:x.log
+log4j.appender.PRIMARY.file=
 log4j.appender.PRIMARY.append=false
 log4j.appender.PRIMARY.layout=org.apache.log4j.PatternLayout
 log4j.appender.PRIMARY.layout.conversionPattern=%-5p %c{2} - %m%n
 
 log4j.appender.FALLBACK=org.apache.log4j.FileAppender
-log4j.appender.FALLBACK.File=output/temp
+log4j.appender.FALLBACK.File=output/ErrorHandlerTestCase-temp
 log4j.appender.FALLBACK.Append=false
 log4j.appender.FALLBACK.layout=org.apache.log4j.PatternLayout
 log4j.appender.FALLBACK.layout.ConversionPattern=FALLBACK - %c - %m%n

Modified: logging/log4j/branches/log4j12-bz53299/core/src/test/resources/input/xml/fallback1.xml
URL: http://svn.apache.org/viewvc/logging/log4j/branches/log4j12-bz53299/core/src/test/resources/input/xml/fallback1.xml?rev=1352896&r1=1352895&r2=1352896&view=diff
==============================================================================
--- logging/log4j/branches/log4j12-bz53299/core/src/test/resources/input/xml/fallback1.xml
(original)
+++ logging/log4j/branches/log4j12-bz53299/core/src/test/resources/input/xml/fallback1.xml
Fri Jun 22 14:00:03 2012
@@ -35,7 +35,7 @@
   </appender>
   
   <appender name="FALLBACK" class="org.apache.log4j.FileAppender">
-    <param name="File" value="output/temp" />
+    <param name="File" value="output/ErrorHandlerTestCase-temp" />
     <param name="Append" value="false" />
     <layout class="org.apache.log4j.PatternLayout">
       <param name="ConversionPattern" value="FALLBACK - %c - %m%n"/>



Mime
View raw message