Skip to content

Commit

Permalink
Reduce log level (openhab#17524)
Browse files Browse the repository at this point in the history
Signed-off-by: Leo Siepel <leosiepel@gmail.com>
  • Loading branch information
lsiepel authored and fabgio committed Oct 11, 2024
1 parent 8e1955d commit 4f78501
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ private void restartWebsocket(@Nullable GardenaSmartWebSocket socket) {
synchronized (this) {
if (socket != null && !socket.isClosing()) {
// close socket, if still open
logger.info("Restarting GardenaSmart Webservice ({})", socket.getSocketID());
logger.debug("Restarting GardenaSmart Webservice ({})", socket.getSocketID());
socket.stop();
} else {
// if socket is already closing, exit function and do not restart socket
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ public void waitForScanFinishing() {
} catch (CancellationException ex) {
// ignore
} catch (Exception ex) {
logger.error("Error waiting for device discovery scan: {}", ex.getMessage(), ex);
logger.warn("Error waiting for device discovery scan: {}", ex.getMessage(), ex);
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ public void channelLinked(ChannelUID channelUID) {
} catch (GardenaDeviceNotFoundException | AccountHandlerNotAvailableException ex) {
logger.debug("{}", ex.getMessage(), ex);
} catch (GardenaException ex) {
logger.error("{}", ex.getMessage(), ex);
logger.warn("{}", ex.getMessage(), ex);
}
}

Expand Down

0 comments on commit 4f78501

Please sign in to comment.