From b6b7d2e730a584f837fd06f80965bc8b1231dc89 Mon Sep 17 00:00:00 2001 From: Simone Bordet Date: Thu, 4 Apr 2019 12:18:16 +0200 Subject: [PATCH] Issue #3133 - Logging of key.readyOps() can throw unchecked CancelledKeyException. Changed logging to level IGNORE, since it's too verbose when debugging. Signed-off-by: Simone Bordet --- .../src/main/java/org/eclipse/jetty/io/ManagedSelector.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/jetty-io/src/main/java/org/eclipse/jetty/io/ManagedSelector.java b/jetty-io/src/main/java/org/eclipse/jetty/io/ManagedSelector.java index 1dca5816e75..6e34410540f 100644 --- a/jetty-io/src/main/java/org/eclipse/jetty/io/ManagedSelector.java +++ b/jetty-io/src/main/java/org/eclipse/jetty/io/ManagedSelector.java @@ -295,8 +295,7 @@ public class ManagedSelector extends ContainerLifeCycle implements Dumpable } catch (Throwable x) { - if (LOG.isDebugEnabled()) - LOG.debug(x); + LOG.ignore(x); return -1; } } @@ -309,8 +308,7 @@ public class ManagedSelector extends ContainerLifeCycle implements Dumpable } catch (Throwable x) { - if (LOG.isDebugEnabled()) - LOG.debug(x); + LOG.ignore(x); return -1; } }