Author: toad
Date: 2009-01-29 19:46:41 +0000 (Thu, 29 Jan 2009)
New Revision: 25378

Modified:
   branches/db4o/freenet/src/freenet/node/NodeClientCore.java
   
branches/db4o/freenet/src/freenet/support/io/SegmentedBucketChainBucketKillJob.java
Log:
Logging


Modified: branches/db4o/freenet/src/freenet/node/NodeClientCore.java
===================================================================
--- branches/db4o/freenet/src/freenet/node/NodeClientCore.java  2009-01-29 
19:46:27 UTC (rev 25377)
+++ branches/db4o/freenet/src/freenet/node/NodeClientCore.java  2009-01-29 
19:46:41 UTC (rev 25378)
@@ -595,7 +595,8 @@
                        RestartDBJob job = 
startupDatabaseJobs[startupDatabaseJobsDone];
                        try {
                                container.activate(job.job, 1);
-                               // Remove before execution, to allow it to 
re-add itself if it wants to 
+                               // Remove before execution, to allow it to 
re-add itself if it wants to
+                               System.err.println("Cleaning up after restart: 
"+job.job);
                                restartJobsQueue.removeRestartJob(job.job, 
job.prio, container);
                                job.job.run(container, context);
                                container.commit();

Modified: 
branches/db4o/freenet/src/freenet/support/io/SegmentedBucketChainBucketKillJob.java
===================================================================
--- 
branches/db4o/freenet/src/freenet/support/io/SegmentedBucketChainBucketKillJob.java
 2009-01-29 19:46:27 UTC (rev 25377)
+++ 
branches/db4o/freenet/src/freenet/support/io/SegmentedBucketChainBucketKillJob.java
 2009-01-29 19:46:41 UTC (rev 25378)
@@ -18,7 +18,7 @@
 
        public void run(ObjectContainer container, ClientContext context) {
                container.activate(bcb, 2);
-               System.err.println("Freeing unfinished unstored bucket "+this);
+               Logger.normal(this, "Freeing unfinished unstored bucket "+this);
                // Restart jobs runner will remove us from the queue.
                // This may take more than one transaction ...
                if(bcb.removeContents(container)) {
@@ -35,5 +35,5 @@
        public void scheduleRestart(ObjectContainer container, ClientContext 
context) {
                context.jobRunner.queueRestartJob(this, RESTART_PRIO, 
container);
        }
-
+       
 }

_______________________________________________
cvs mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs

Reply via email to