Config updated
authorcvs <cvs>
Mon, 4 Feb 2002 19:40:34 +0000 (19:40 +0000)
committercvs <cvs>
Mon, 4 Feb 2002 19:40:34 +0000 (19:40 +0000)
source/mircoders/producer/Producer.java
source/mircoders/producer/ProducerStartPage.java

index f62dcba..de45e4b 100755 (executable)
@@ -18,7 +18,7 @@ abstract public class Producer {
   protected static String producerStorageRoot = MirConfig.getProp("Producer.StorageRoot");
        protected static String producerProductionHost = MirConfig.getProp("Producer.ProductionHost");
        protected static String producerOpenAction = MirConfig.getProp("Producer.OpenAction");;
-       protected static Logfile theLog = Logfile.getInstance(MirConfig.getProp("Home") + MirConfig.getProp("Producer.Logfile"));
+       protected static Logfile theLog = Logfile.getInstance(MirConfig.getProp("Home") + "/" + MirConfig.getProp("Producer.Logfile"));
        protected static ModuleTopics         topicsModule;
   protected static ModuleLinksImcs      linksImcsModule;
        protected static ModuleSchwerpunkt    schwerpunktModule;
@@ -78,7 +78,7 @@ abstract public class Producer {
 
                        printHTML(htmlout, "Produced <a href=\"" + producerProductionHost+  filename + "\">" + filename + "</a>");
                        //theLog.printInfo("Produced: " + producerStorageRoot + filename);
-      //theLog.printDebugInfo("free mem:" + java.lang.Runtime.getRuntime().freeMemory());
+                       //theLog.printDebugInfo("free mem:" + java.lang.Runtime.getRuntime().freeMemory());
       //theLog.printDebugInfo("total mem:" + java.lang.Runtime.getRuntime().totalMemory());
                        return true;
 
index 1a836b1..cda77ea 100755 (executable)
@@ -77,7 +77,7 @@ public class ProducerStartPage extends Producer {
     Database            mediaStorage=null;
     String              tinyIcon;
     String              iconAlt;
-    Logfile theLog = Logfile.getInstance(MirConfig.getProp("Home") + MirConfig.getProp("Producer.Logfile"));
+    Logfile theLog = Logfile.getInstance(MirConfig.getProp("Home") + "/" +MirConfig.getProp("Producer.Logfile"));
 
     SimpleList mediaList;
     SimpleHash contentHash;