From 7f8c84deada65f3aad3ef3931b3153d504969f6e Mon Sep 17 00:00:00 2001 From: cvs Date: Mon, 4 Feb 2002 19:40:34 +0000 Subject: [PATCH] Config updated --- source/mircoders/producer/Producer.java | 4 ++-- source/mircoders/producer/ProducerStartPage.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/source/mircoders/producer/Producer.java b/source/mircoders/producer/Producer.java index f62dcba2..de45e4bc 100755 --- a/source/mircoders/producer/Producer.java +++ b/source/mircoders/producer/Producer.java @@ -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 " + filename + ""); //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; diff --git a/source/mircoders/producer/ProducerStartPage.java b/source/mircoders/producer/ProducerStartPage.java index 1a836b12..cda77ea4 100755 --- a/source/mircoders/producer/ProducerStartPage.java +++ b/source/mircoders/producer/ProducerStartPage.java @@ -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; -- 2.11.0