really splitting log
authorrk <rk>
Fri, 8 Feb 2002 02:01:50 +0000 (02:01 +0000)
committerrk <rk>
Fri, 8 Feb 2002 02:01:50 +0000 (02:01 +0000)
source/mir/misc/MirConfig.java
source/mircoders/entity/EntityContent.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);
 
index 214e8ff..68e4a77 100755 (executable)
@@ -279,7 +279,7 @@ public class EntityContent extends Entity
         *
         * @return freemarker.template.SimpleList
         */
-       public SimpleList getComments() throws StorageObjectException {
+       private SimpleList getComments() throws StorageObjectException {
                return ((DatabaseContent)theStorageObject).getComments(this);
        }