Ok, big merge. here's the new xml-config stuff in action. There's a few
[mir.git] / source / mircoders / module / ModuleMediafolder.java
index 14dbcdd..eb82576 100755 (executable)
@@ -35,7 +35,7 @@ public class ModuleMediafolder extends AbstractModule
 
        public ModuleMediafolder(StorageObject theStorage)
        {
-               if (theLog == null) theLog = Logfile.getInstance(MirConfig.getProp("Home") + MirConfig.getProp("Module.Mediafolder.Logfile"));
+               if (theLog == null) theLog = Logfile.getInstance(this.getClass().getName());
                if (theStorage == null) theLog.printWarning("StorageObject was null!");
                this.theStorage = theStorage;
        }