mirror of
https://github.com/openhab/openhab-addons.git
synced 2025-01-10 15:11:59 +01:00
Reduce log level (#17524)
Signed-off-by: Leo Siepel <leosiepel@gmail.com>
This commit is contained in:
parent
ab59bc871d
commit
09db08e6ae
@ -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
|
||||
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user