diff --git a/bundles/org.openhab.binding.bondhome/src/main/java/org/openhab/binding/bondhome/internal/api/BPUPListener.java b/bundles/org.openhab.binding.bondhome/src/main/java/org/openhab/binding/bondhome/internal/api/BPUPListener.java index 6420772ee7043..fc7b126d1297b 100644 --- a/bundles/org.openhab.binding.bondhome/src/main/java/org/openhab/binding/bondhome/internal/api/BPUPListener.java +++ b/bundles/org.openhab.binding.bondhome/src/main/java/org/openhab/binding/bondhome/internal/api/BPUPListener.java @@ -132,7 +132,7 @@ private void sendBPUPKeepAlive() { @Nullable String bondId = response.bondId; if (bondId == null || !bondId.equalsIgnoreCase(bridgeHandler.getBridgeId())) { - logger.warn("Response isn't from expected Bridge! Expected: {} Got: {}", + logger.trace("Response isn't from expected Bridge! Expected: {} Got: {}", bridgeHandler.getBridgeId(), bondId); } else { bridgeHandler.setBridgeOnline(inPacket.getAddress().getHostAddress()); @@ -200,7 +200,7 @@ private void processPacket(DatagramPacket packet) { BPUPUpdate update = transformUpdatePacket(packet); if (update != null) { if (!update.bondId.equalsIgnoreCase(bridgeHandler.getBridgeId())) { - logger.warn("Response isn't from expected Bridge! Expected: {} Got: {}", bridgeHandler.getBridgeId(), + logger.trace("Response isn't from expected Bridge! Expected: {} Got: {}", bridgeHandler.getBridgeId(), update.bondId); } @@ -235,7 +235,7 @@ private void processPacket(DatagramPacket packet) { try { response = this.gsonBuilder.fromJson(responseJson, BPUPUpdate.class); } catch (JsonParseException e) { - logger.warn("Error parsing json! {}", e.getMessage()); + logger.debug("Error parsing json! {}", e.getMessage()); } return response; } @@ -276,7 +276,7 @@ private void datagramSocketHealthRoutine() { this.socket = s; logger.trace("Datagram Socket reconnected using port {}.", s.getPort()); } catch (SocketException exception) { - logger.warn("Problem creating new socket : {}", exception.getLocalizedMessage()); + logger.trace("Problem creating new socket : {}", exception.getLocalizedMessage()); } } } diff --git a/bundles/org.openhab.binding.bondhome/src/main/java/org/openhab/binding/bondhome/internal/api/BondHttpApi.java b/bundles/org.openhab.binding.bondhome/src/main/java/org/openhab/binding/bondhome/internal/api/BondHttpApi.java index 8dedf69df09e9..46423df31802e 100644 --- a/bundles/org.openhab.binding.bondhome/src/main/java/org/openhab/binding/bondhome/internal/api/BondHttpApi.java +++ b/bundles/org.openhab.binding.bondhome/src/main/java/org/openhab/binding/bondhome/internal/api/BondHttpApi.java @@ -194,7 +194,7 @@ public synchronized void executeDeviceAction(String deviceId, BondDeviceAction a try { response = request.send(); } catch (Exception e) { - logger.warn("Unable to execute device action {} against device {}: {}", deviceId, action, e.getMessage()); + logger.debug("Unable to execute device action {} against device {}: {}", deviceId, action, e.getMessage()); return; } diff --git a/bundles/org.openhab.binding.bondhome/src/main/java/org/openhab/binding/bondhome/internal/discovery/BondDiscoveryService.java b/bundles/org.openhab.binding.bondhome/src/main/java/org/openhab/binding/bondhome/internal/discovery/BondDiscoveryService.java index c32697ef3b9a7..64551f0cbf854 100644 --- a/bundles/org.openhab.binding.bondhome/src/main/java/org/openhab/binding/bondhome/internal/discovery/BondDiscoveryService.java +++ b/bundles/org.openhab.binding.bondhome/src/main/java/org/openhab/binding/bondhome/internal/discovery/BondDiscoveryService.java @@ -106,7 +106,7 @@ protected synchronized void startScan() { } } } catch (BondException ignored) { - logger.warn("Error getting devices for discovery: {}", ignored.getMessage()); + logger.debug("Error getting devices for discovery: {}", ignored.getMessage()); } finally { removeOlderResults(getTimestampOfLastScan()); } diff --git a/bundles/org.openhab.binding.bondhome/src/main/java/org/openhab/binding/bondhome/internal/handler/BondBridgeHandler.java b/bundles/org.openhab.binding.bondhome/src/main/java/org/openhab/binding/bondhome/internal/handler/BondBridgeHandler.java index 35cd1806c2c0f..104fa9540a237 100644 --- a/bundles/org.openhab.binding.bondhome/src/main/java/org/openhab/binding/bondhome/internal/handler/BondBridgeHandler.java +++ b/bundles/org.openhab.binding.bondhome/src/main/java/org/openhab/binding/bondhome/internal/handler/BondBridgeHandler.java @@ -230,7 +230,7 @@ public void forwardUpdateToThing(BPUPUpdate pushUpdate) { logger.trace("could not read topic type from push update or type was not state."); } } else { - logger.warn("Can not read device Id from push update."); + logger.trace("Cannot read device Id from push update."); } } @@ -283,7 +283,7 @@ public void setBridgeOffline(ThingStatusDetail detail, String description) { */ public void setBridgeOnline(String bridgeAddress) { if (!config.isValid()) { - logger.warn("Configuration error, cannot set the bridghe online without configuration"); + logger.warn("Configuration error, cannot set the bridge online without configuration"); return; } else if (!config.ipAddress.equals(bridgeAddress)) { logger.debug("IP address of Bond {} has changed to {}", config.serialNumber, bridgeAddress);