--- FM2SQL/Attic/Convert.java 2004/08/12 09:54:38 1.72 +++ FM2SQL/Attic/Convert.java 2004/08/16 09:45:58 1.73 @@ -77,6 +77,7 @@ class Convert static Vector databases = new Vector(); final static int numHits = 5000; final static int numIntervalls = 2; + static boolean debug = false; public static void main(String args[]) { /* try @@ -101,10 +102,12 @@ class Convert { e1.printStackTrace(); } - PrintStream stream = new PrintStream(file); - // System.setOut(stream); - //System.setErr(stream); - + PrintStream stream = new PrintStream(file,false); + if(!debug) + { + System.setOut(stream); + System.setErr(stream); + } readXMLFile(args[0]); if (!(new File(args[0]).exists())) System.exit(0);