Author: toad
Date: 2007-04-18 16:44:30 +0000 (Wed, 18 Apr 2007)
New Revision: 12778
Modified:
trunk/freenet/src/freenet/store/BerkeleyDBFreenetStore.java
Log:
Logging a bit earlier
Modified: trunk/freenet/src/freenet/store/BerkeleyDBFreenetStore.java
===================================================================
--- trunk/freenet/src/freenet/store/BerkeleyDBFreenetStore.java 2007-04-18
16:33:19 UTC (rev 12777)
+++ trunk/freenet/src/freenet/store/BerkeleyDBFreenetStore.java 2007-04-18
16:44:30 UTC (rev 12778)
@@ -507,10 +507,10 @@
// Either we find out what the maximum value is and we
do a static method somewhere ensuring
// it won't overflow ... or we debug the wrapper.
// NB: it might be a wrapper-version-missmatch problem
(nextgens)
+ System.err.println("Reconstructing access times
index...");
+ Logger.error(this, "Reconstructing access times
index...");
if(atime != null) atime.close();
environment.truncateDatabase(null,
prefix+"CHK_accessTime", false);
- System.err.println("Reconstructing access times
index...");
- Logger.error(this, "Reconstructing access times
index...");
secDbConfig.setAllowCreate(true);
secDbConfig.setAllowPopulate(true);
atime = environment.openSecondaryDatabase