Skip to content

Commit

Permalink
Issue #4996 More fixes
Browse files Browse the repository at this point in the history
Signed-off-by: Jan Bartel <janb@webtide.com>
  • Loading branch information
janbartel committed Aug 19, 2020
1 parent 461a7eb commit fe68ba1
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -612,7 +612,7 @@ private boolean select()
if (LOG.isDebugEnabled())
LOG.warn("select() failure", x);
else
LOG.warn(x.toString());
LOG.warn("select() failure {}", x.toString());
}
}
return false;
Expand Down Expand Up @@ -866,9 +866,10 @@ public void run()
protected void failed(Throwable failure)
{
IO.close(channel);
LOG.warn("Could not accept {}: {}", channel, String.valueOf(failure));
if (LOG.isDebugEnabled())
LOG.debug("", failure);
LOG.warn("Could not accept {}", channel, failure);
else
LOG.warn("Could not accept {}: {}", channel, String.valueOf(failure));
_selectorManager.onAcceptFailed(channel, failure);
}

Expand Down

0 comments on commit fe68ba1

Please sign in to comment.