Author: toad
Date: 2009-03-11 16:37:28 +0000 (Wed, 11 Mar 2009)
New Revision: 25989
Modified:
branches/db4o/freenet/src/freenet/client/async/SingleFileInserter.java
Log:
Logging
Modified: branches/db4o/freenet/src/freenet/client/async/SingleFileInserter.java
===================================================================
--- branches/db4o/freenet/src/freenet/client/async/SingleFileInserter.java
2009-03-11 16:36:06 UTC (rev 25988)
+++ branches/db4o/freenet/src/freenet/client/async/SingleFileInserter.java
2009-03-11 16:37:28 UTC (rev 25989)
@@ -639,7 +639,7 @@
if(persistent)
container.store(this);
}
} else {
- Logger.error(this, "onFailure() on
unknown state "+state+" on "+this);
+ Logger.error(this, "onFailure() on
unknown state "+state+" on "+this, new Exception("debug"));
}
if(finished){
toFail = false; // Already failed
@@ -958,6 +958,7 @@
}
public void removeFrom(ObjectContainer container, ClientContext
context) {
+ if(logMINOR) Logger.minor(this, "removeFrom() on
"+this);
container.delete(this);
// Remove parent as well, since we always transition
from parent to SH i.e. it will not get a removeFrom().
SingleFileInserter.this.removeFrom(container, context);
@@ -1016,6 +1017,7 @@
}
public void removeFrom(ObjectContainer container, ClientContext
context) {
+ if(logMINOR) Logger.minor(this, "removeFrom() on "+this, new
Exception("debug"));
// parent removes self
// token is passed in, creator of token is responsible for
removing it
if(block != null) {
_______________________________________________
cvs mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs