mirror of
https://github.com/openhab/openhab-addons.git
synced 2025-02-04 03:14:07 +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) {
|
synchronized (this) {
|
||||||
if (socket != null && !socket.isClosing()) {
|
if (socket != null && !socket.isClosing()) {
|
||||||
// close socket, if still open
|
// close socket, if still open
|
||||||
logger.info("Restarting GardenaSmart Webservice ({})", socket.getSocketID());
|
logger.debug("Restarting GardenaSmart Webservice ({})", socket.getSocketID());
|
||||||
socket.stop();
|
socket.stop();
|
||||||
} else {
|
} else {
|
||||||
// if socket is already closing, exit function and do not restart socket
|
// if socket is already closing, exit function and do not restart socket
|
||||||
|
@ -123,7 +123,7 @@ public class GardenaDeviceDiscoveryService extends AbstractThingHandlerDiscovery
|
|||||||
} catch (CancellationException ex) {
|
} catch (CancellationException ex) {
|
||||||
// ignore
|
// ignore
|
||||||
} catch (Exception ex) {
|
} 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) {
|
} catch (GardenaDeviceNotFoundException | AccountHandlerNotAvailableException ex) {
|
||||||
logger.debug("{}", ex.getMessage(), ex);
|
logger.debug("{}", ex.getMessage(), ex);
|
||||||
} catch (GardenaException ex) {
|
} catch (GardenaException ex) {
|
||||||
logger.error("{}", ex.getMessage(), ex);
|
logger.warn("{}", ex.getMessage(), ex);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user