really splitting log
[mir.git] / source / mir / misc / MirConfig.java
index 52fd9b7..4adcd34 100755 (executable)
@@ -90,7 +90,7 @@ public class MirConfig extends Configuration {
       min=getProp("Database.poolMin");
       max=getProp("Database.poolMax");
       dbname=getProp("Database.Name");
-      log=getProp("Home")+ configHash.get("Database.PoolLog" + ".pool");
+      log=getProp("Home")+ configHash.get("Database.PoolLog");
       reset=getProp("Database.poolResetTime");
       dblogfile=getPropWithHome("Database.Logfile");
 
@@ -110,7 +110,7 @@ public class MirConfig extends Configuration {
       meta.setMinimumSize(Integer.parseInt(min));
       meta.setCacheEnabled(true);
       //meta.setDebugging(true);
-      meta.setLogFile(dblogfile);
+      meta.setLogFile(dblogfile+".pool");
 
       JDBCPool pool = SQLManager.getInstance().createPool(meta);