X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=source%2Fmir%2Fentity%2FAbstractEntity.java;h=632fc3966e6bc618da6bdace71e6acce8f7d1bca;hb=baf56cc3d324ffa8715509e559bbe049739f32f3;hp=aed7e859c4f8bef169c908ea8d1b88cd37dc4163;hpb=5f4cb1941d49eb2085964e66fb9125d81a3ad29e;p=mir.git diff --git a/source/mir/entity/AbstractEntity.java b/source/mir/entity/AbstractEntity.java index aed7e859..632fc396 100755 --- a/source/mir/entity/AbstractEntity.java +++ b/source/mir/entity/AbstractEntity.java @@ -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()); } /**