Commit 0325f4f8 authored by Andre Freyssinet's avatar Andre Freyssinet

Logging enhancements.

parent 2a904ad6
......@@ -380,6 +380,8 @@ public final class AdminTopic extends Topic implements AdminTopicMBean {
AgentId proxyId = getProxyId(not.getIdentity(), not.getInAddr());
not.Return(proxyId);
} catch (Exception exc) {
logger.log(BasicLevel.ERROR,
"AdminTopic.handleGetProxyIdNot " + not.getIdentity(), exc);
not.Throw(exc);
}
}
......
......@@ -252,6 +252,9 @@ public class TcpConnectionListener extends Daemon {
return;
}
if (logger.isLoggable(BasicLevel.DEBUG))
logger.log(BasicLevel.DEBUG, " -> open connection, proxyId=" + proxyId);
IOControl ioctrl;
ReliableConnectionContext ctx;
if (key == -1) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment