Reduce log level (#17524)

Signed-off-by: Leo Siepel <leosiepel@gmail.com>
This commit is contained in:
lsiepel 2024-10-08 20:44:41 +02:00 committed by GitHub
parent ab59bc871d
commit 09db08e6ae
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View File

@ -411,7 +411,7 @@ public class GardenaSmartImpl implements GardenaSmart, GardenaSmartWebSocketList
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

View File

@ -123,7 +123,7 @@ public class GardenaDeviceDiscoveryService extends AbstractThingHandlerDiscovery
} 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);
}
}
}

View File

@ -128,7 +128,7 @@ public class GardenaThingHandler extends BaseThingHandler {
} catch (GardenaDeviceNotFoundException | AccountHandlerNotAvailableException ex) {
logger.debug("{}", ex.getMessage(), ex);
} catch (GardenaException ex) {
logger.error("{}", ex.getMessage(), ex);
logger.warn("{}", ex.getMessage(), ex);
}
}