diff --git a/bundles/org.openhab.core.io.websocket/src/main/java/org/openhab/core/io/websocket/log/LogWebSocket.java b/bundles/org.openhab.core.io.websocket/src/main/java/org/openhab/core/io/websocket/log/LogWebSocket.java index 64b96623a3a..939d16cb9c7 100644 --- a/bundles/org.openhab.core.io.websocket/src/main/java/org/openhab/core/io/websocket/log/LogWebSocket.java +++ b/bundles/org.openhab.core.io.websocket/src/main/java/org/openhab/core/io/websocket/log/LogWebSocket.java @@ -113,7 +113,6 @@ public void onError(Session session, @Nullable Throwable error) { private synchronized void sendMessage(String message) throws IOException { RemoteEndpoint remoteEndpoint = this.remoteEndpoint; if (remoteEndpoint == null) { - logger.warn("Could not determine remote endpoint, failed to send '{}'.", message); return; } remoteEndpoint.sendString(message); @@ -128,7 +127,7 @@ public void logged(@NonNullByDefault({}) LogEntry logEntry) { LogDTO logDTO = map(logEntry); sendMessage(gson.toJson(logDTO)); } catch (IOException e) { - logger.debug("Failed to send log {} to {}: {}", logEntry, remoteIdentifier, e.getMessage()); + // Fail silently! } }