From bda9bfec650e1a4404a85ee27b2b875f7e11f405 Mon Sep 17 00:00:00 2001 From: Arne Seime Date: Sun, 7 Jul 2024 12:59:16 +0200 Subject: [PATCH] Minor log message change --- .../binding/esphome/internal/comm/ConnectionSelector.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/main/java/no/seime/openhab/binding/esphome/internal/comm/ConnectionSelector.java b/src/main/java/no/seime/openhab/binding/esphome/internal/comm/ConnectionSelector.java index bce6357..25a7845 100644 --- a/src/main/java/no/seime/openhab/binding/esphome/internal/comm/ConnectionSelector.java +++ b/src/main/java/no/seime/openhab/binding/esphome/internal/comm/ConnectionSelector.java @@ -42,10 +42,10 @@ public void start() { keyIterator.remove(); } } catch (ClosedSelectorException e) { - logger.debug("Selector closed"); + logger.debug("Selector closed, stopping thread"); keepRunning = false; } catch (Exception e) { - logger.warn("Error while selecting", e); + logger.warn("Error while selecting, stopping thread", e); keepRunning = false; } } @@ -70,7 +70,6 @@ private void processKey(SelectionKey readyKey) { } else { processReceivedData(frameHelper, buffer, channel); } - } else { logger.trace("Key not readable"); }