r27072 - trunk/freenet/src/freenet/node

[email protected] Sun, 19 Apr 2009 18:02:13 +0000
Newsgroups gmane.network.freenet.cvs,gmane.spam.detected
Message-ID <[email protected]>
Author: xor
Date: 2009-04-19 18:02:13 +0000 (Sun, 19 Apr 2009)
New Revision: 27072

Modified:
   trunk/freenet/src/freenet/node/Node.java
Log:
Set the loglevel of the db4o diagnostic messages to debug instead of error.

Modified: trunk/freenet/src/freenet/node/Node.java
===================================================================
--- trunk/freenet/src/freenet/node/Node.java	2009-04-19 17:53:47 UTC (rev 27071)
+++ trunk/freenet/src/freenet/node/Node.java	2009-04-19 18:02:13 UTC (rev 27072)
@@ -873,9 +873,9 @@
 					return; // Ignore
 				if(arg0 instanceof DiagnosticBase) {
 					DiagnosticBase d = (DiagnosticBase) arg0;
-					Logger.error(this, "Diagnostic: "+d.getClass()+" : "+d.problem()+" : "+d.solution()+" : "+d.reason(), new Exception("debug"));
+					Logger.debug(this, "Diagnostic: "+d.getClass()+" : "+d.problem()+" : "+d.solution()+" : "+d.reason(), new Exception("debug"));
 				} else
-					Logger.error(this, "Diagnostic: "+arg0+" : "+arg0.getClass(), new Exception("debug"));
+					Logger.debug(this, "Diagnostic: "+arg0+" : "+arg0.getClass(), new Exception("debug"));
 			}
 		});