Ok, big merge. here's the new xml-config stuff in action. There's a few
[mir.git] / source / mir / entity / AbstractEntity.java
index aed7e85..632fc39 100755 (executable)
@@ -29,13 +29,13 @@ public class AbstractEntity implements Entity
   protected static Logfile    theLog;
   protected ArrayList         streamedInput=null;
   private static int instances = 0;
-    static {
-      theLog = Logfile.getInstance(MirConfig.getProp("Home") + MirConfig.getProp("Entity.Logfile"));
-    }
 
     public AbstractEntity() {
+      theLog = Logfile.getInstance(this.getClass().getName());
       this.changed = false;
       instances++;
+      Integer i = new Integer(instances);
+      System.err.println("New abstract entity instance: "+i.toString());
     }
 
   /**