You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by an...@apache.org on 2011/12/08 17:45:41 UTC

svn commit: r1211970 - in /incubator/jena/Scratch/AFS/Jena-Dev/trunk: dwimall log4j.properties src/dev/Jena163_TDBDifferentIds.java

Author: andy
Date: Thu Dec  8 16:45:41 2011
New Revision: 1211970

URL: http://svn.apache.org/viewvc?rev=1211970&view=rev
Log: (empty)

Modified:
    incubator/jena/Scratch/AFS/Jena-Dev/trunk/dwimall
    incubator/jena/Scratch/AFS/Jena-Dev/trunk/log4j.properties
    incubator/jena/Scratch/AFS/Jena-Dev/trunk/src/dev/Jena163_TDBDifferentIds.java

Modified: incubator/jena/Scratch/AFS/Jena-Dev/trunk/dwimall
URL: http://svn.apache.org/viewvc/incubator/jena/Scratch/AFS/Jena-Dev/trunk/dwimall?rev=1211970&r1=1211969&r2=1211970&view=diff
==============================================================================
--- incubator/jena/Scratch/AFS/Jena-Dev/trunk/dwimall (original)
+++ incubator/jena/Scratch/AFS/Jena-Dev/trunk/dwimall Thu Dec  8 16:45:41 2011
@@ -1,12 +1,10 @@
 #!/bin/bash
 
-echo "$(date)" >> LOG
-
-for n in $(nums 1 5)
+for n in $(nums 1 10)
 do
     (
-	echo
+	echo "$(date)"
 	echo
 	dwim 2>&1 
-    ) >> LOG
+    ) >> "LOG-$$-$n"
     done

Modified: incubator/jena/Scratch/AFS/Jena-Dev/trunk/log4j.properties
URL: http://svn.apache.org/viewvc/incubator/jena/Scratch/AFS/Jena-Dev/trunk/log4j.properties?rev=1211970&r1=1211969&r2=1211970&view=diff
==============================================================================
--- incubator/jena/Scratch/AFS/Jena-Dev/trunk/log4j.properties (original)
+++ incubator/jena/Scratch/AFS/Jena-Dev/trunk/log4j.properties Thu Dec  8 16:45:41 2011
@@ -5,9 +5,9 @@ log4j.appender.stdlog=org.apache.log4j.C
 log4j.appender.stdlog.layout=org.apache.log4j.PatternLayout
 log4j.appender.stdlog.layout.ConversionPattern=%d{HH:mm:ss} %-5p %-25c{1} :: %m%n
 
-log4j.logger.com.hp.hpl.jena.tdb.transaction.TransactionManager=ALL
-log4j.logger.com.hp.hpl.jena.tdb.transaction.NodeTableTrans=ALL
-log4j.logger.com.hp.hpl.jena.tdb.base.file.FileBase=ALL
+## log4j.logger.com.hp.hpl.jena.tdb.transaction.TransactionManager=ALL
+## log4j.logger.com.hp.hpl.jena.tdb.transaction.NodeTableTrans=ALL
+## log4j.logger.com.hp.hpl.jena.tdb.base.file.FileBase=ALL
 
 # Execution logging
 log4j.logger.com.hp.hpl.jena.arq.info=INFO

Modified: incubator/jena/Scratch/AFS/Jena-Dev/trunk/src/dev/Jena163_TDBDifferentIds.java
URL: http://svn.apache.org/viewvc/incubator/jena/Scratch/AFS/Jena-Dev/trunk/src/dev/Jena163_TDBDifferentIds.java?rev=1211970&r1=1211969&r2=1211970&view=diff
==============================================================================
--- incubator/jena/Scratch/AFS/Jena-Dev/trunk/src/dev/Jena163_TDBDifferentIds.java (original)
+++ incubator/jena/Scratch/AFS/Jena-Dev/trunk/src/dev/Jena163_TDBDifferentIds.java Thu Dec  8 16:45:41 2011
@@ -68,7 +68,9 @@ public class Jena163_TDBDifferentIds
      * Therefore, this test program this does not run on MS Windows 64 bit mode.
      */
     
-    static String location = false ? "/mnt/ssd1/tmp/DB163" : ConfigTest.getTestingDirDB() ;
+    static boolean MEM                  = false ;
+    static String location              = true ? "/mnt/ssd1/tmp/DB163" : ConfigTest.getTestingDirDB() ;
+    static final Location LOC           = MEM ? Location.mem() : new Location(location) ;
     
     static { 
         //SystemTDB.isWindows
@@ -82,9 +84,6 @@ public class Jena163_TDBDifferentIds
         
     }
     
-    static boolean MEM                          = true ;
-    
-    static final Location LOC                   = MEM ? Location.mem() : new Location(location) ;
     static final int Iterations                 = MEM ? 10000 : 10000 ;
     // Output style.
     static boolean logging                      = false ;
@@ -112,14 +111,15 @@ public class Jena163_TDBDifferentIds
     private static int numIterationsPerBlock    = 100 ;
     private static int colCount                 = 0 ;
     private static int colMax                   = 200 ;
-    private static boolean inlineProgress       = true ;   // Set true so that every transaction print a letter for what it does.
+    private static boolean inlineProgress       = false ;   // Set true so that every transaction print a letter for what it does.
     
     static {
         // Clearup !!!!!!!!!!!!!
         TransactionManager.DEBUG = inlineProgress ; 
-        ObjectFileStorage.logging = true ;
-        FileBase.DEBUG = true ;
+        ObjectFileStorage.logging = inlineProgress ;
+        FileBase.DEBUG = inlineProgress ;
         NodeTableTrans.FIXUP = true ;
+        // See also log4j.properties.
     }
     
     // Queue treads starting