forked from I2P_Developers/i2p.i2p
logging, its whats for dinner
This commit is contained in:
@@ -133,8 +133,14 @@ class ClientMessageEventListener implements I2CPMessageReader.I2CPMessageEventLi
|
|||||||
msg.setSessionId(sessionId);
|
msg.setSessionId(sessionId);
|
||||||
msg.setStatus(SessionStatusMessage.STATUS_CREATED);
|
msg.setStatus(SessionStatusMessage.STATUS_CREATED);
|
||||||
try {
|
try {
|
||||||
|
if (_log.shouldLog(Log.DEBUG))
|
||||||
|
_log.debug("before sending sessionStatusMessage for " + message.getSessionConfig().getDestination().calculateHash().toBase64());
|
||||||
_runner.doSend(msg);
|
_runner.doSend(msg);
|
||||||
|
if (_log.shouldLog(Log.DEBUG))
|
||||||
|
_log.debug("after sending sessionStatusMessage for " + message.getSessionConfig().getDestination().calculateHash().toBase64());
|
||||||
_runner.sessionEstablished(message.getSessionConfig());
|
_runner.sessionEstablished(message.getSessionConfig());
|
||||||
|
if (_log.shouldLog(Log.DEBUG))
|
||||||
|
_log.debug("after sessionEstablished for " + message.getSessionConfig().getDestination().calculateHash().toBase64());
|
||||||
} catch (I2CPMessageException ime) {
|
} catch (I2CPMessageException ime) {
|
||||||
_log.error("Error writing out the session status message", ime);
|
_log.error("Error writing out the session status message", ime);
|
||||||
} catch (IOException ioe) {
|
} catch (IOException ioe) {
|
||||||
|
Reference in New Issue
Block a user