[freenet-cvs] r14540 - trunk/freenet/src/freenet/node

toad at freenetproject.org toad at freenetproject.org
Wed Aug 8 20:47:03 UTC 2007


Author: toad
Date: 2007-08-08 20:47:03 +0000 (Wed, 08 Aug 2007)
New Revision: 14540

Modified:
   trunk/freenet/src/freenet/node/Node.java
Log:
Logging

Modified: trunk/freenet/src/freenet/node/Node.java
===================================================================
--- trunk/freenet/src/freenet/node/Node.java	2007-08-08 20:25:26 UTC (rev 14539)
+++ trunk/freenet/src/freenet/node/Node.java	2007-08-08 20:47:03 UTC (rev 14540)
@@ -749,8 +749,10 @@
 			readNodeFile(new File(nodeDir, "node-"+getDarknetPortNumber()).getPath(), random);
 		} catch (IOException e) {
 			try {
+				System.err.println("Trying to read node file backup ...");
 				readNodeFile(new File("node-"+getDarknetPortNumber()+".bak").getPath(), random);
 			} catch (IOException e1) {
+				System.err.println("No node file or cannot read, (re)initialising crypto etc");
 				initNodeFileSettings(random);
 			}
 		}




More information about the cvs mailing list