Commit 7c83540d authored by hpi1's avatar hpi1

reduced logging

parent e5568d53
......@@ -89,11 +89,8 @@ public class BDJListeners {
synchronized (listeners) {
for (Iterator it = listeners.iterator(); it.hasNext(); ) {
BDJListener item = (BDJListener)it.next();
if (item.ctx == null) {
logger.error("Listener callback: no context: " + item.listener);
it.remove();
} else if (item.ctx.isReleased()) {
logger.error("Listener terminated: " + item.ctx);
if (item.ctx == null || item.ctx.isReleased()) {
logger.info("Listener terminated: " + item.ctx);
it.remove();
} else {
item.ctx.putCallback(new Callback(event, item.listener));
......
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