forked from I2P_Developers/i2p.i2p
log tweaks
This commit is contained in:
@@ -491,6 +491,8 @@ public abstract class I2PTunnelClientBase extends I2PTunnelTask implements Runna
|
|||||||
// FIXME there is a loop in buildSocketManager(), do we really need another one here?
|
// FIXME there is a loop in buildSocketManager(), do we really need another one here?
|
||||||
// no matter, buildSocketManager() now throws an IllegalArgumentException
|
// no matter, buildSocketManager() now throws an IllegalArgumentException
|
||||||
try { Thread.sleep(10*1000); } catch (InterruptedException ie) {}
|
try { Thread.sleep(10*1000); } catch (InterruptedException ie) {}
|
||||||
|
} else {
|
||||||
|
l.log("Tunnels ready for client: " + _handlerName);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// can't be null unless we limit the loop above
|
// can't be null unless we limit the loop above
|
||||||
@@ -498,7 +500,6 @@ public abstract class I2PTunnelClientBase extends I2PTunnelTask implements Runna
|
|||||||
// l.log("Invalid I2CP configuration");
|
// l.log("Invalid I2CP configuration");
|
||||||
// throw new IllegalArgumentException("Socket manager could not be created");
|
// throw new IllegalArgumentException("Socket manager could not be created");
|
||||||
//}
|
//}
|
||||||
l.log("Tunnels ready for client: " + _handlerName);
|
|
||||||
|
|
||||||
} // else delay creating session until createI2PSocket() is called
|
} // else delay creating session until createI2PSocket() is called
|
||||||
startup();
|
startup();
|
||||||
@@ -720,6 +721,7 @@ public abstract class I2PTunnelClientBase extends I2PTunnelTask implements Runna
|
|||||||
}
|
}
|
||||||
if (open) {
|
if (open) {
|
||||||
_log.error("Error listening for connections on " + addr + " port " + localPort, ex);
|
_log.error("Error listening for connections on " + addr + " port " + localPort, ex);
|
||||||
|
l.log("Error listening for connections on " + addr + " port " + localPort + ": " + ex);
|
||||||
notifyEvent("openBaseClientResult", "error");
|
notifyEvent("openBaseClientResult", "error");
|
||||||
close(true);
|
close(true);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user