Commits

tkunicki-usgs  committed dc279ed

log to console as quick hack to get things working

  • Participants
  • Parent commits fb6555d

Comments (0)

Files changed (1)

File core/src/main/java/org/cdlib/mrt/utility/TFileLogger.java

 package org.cdlib.mrt.utility;
 
 import java.io.FileWriter;
+import java.io.PrintWriter;
+import java.io.Writer;
 import java.util.Calendar;
 import java.util.Date;
 import java.util.Properties;
     implements LoggerInf
 {
     protected static final String DEFAULTNAME = "mrt";
-    protected FileWriter m_logFile;
+    protected Writer m_logFile;
     protected String m_dateQualifier = "";
     protected int m_messageMaxLevel = 10;
     protected int m_errorMaxLevel = 10;
             }
 
             String now = getNow();
-            m_logFile = new FileWriter(
-                                filePath + fileName + now + ".log", true);
+//            m_logFile = new FileWriter(
+//                                filePath + fileName + now + ".log", true);
+            m_logFile = new PrintWriter(System.out);
             /*
             System.out.println(
                 new Date() + "    (00) " + getFrameworkID() +