mirror of
https://github.com/openhab/openhab-addons.git
synced 2025-01-10 15:11:59 +01:00
Reduce log level (#17647)
Signed-off-by: Leo Siepel <leosiepel@gmail.com> Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
This commit is contained in:
parent
d20144d932
commit
7a45a6156a
@ -3268,13 +3268,13 @@ public class ZonePlayerHandler extends BaseThingHandler implements UpnpIOPartici
|
||||
@Override
|
||||
public void onStatusChanged(boolean status) {
|
||||
if (status) {
|
||||
logger.info("UPnP device {} is present (thing {})", getUDN(), getThing().getUID());
|
||||
logger.debug("UPnP device {} is present (thing {})", getUDN(), getThing().getUID());
|
||||
if (getThing().getStatus() != ThingStatus.ONLINE) {
|
||||
updateStatus(ThingStatus.ONLINE);
|
||||
scheduler.execute(this::poll);
|
||||
}
|
||||
} else {
|
||||
logger.info("UPnP device {} is absent (thing {})", getUDN(), getThing().getUID());
|
||||
logger.debug("UPnP device {} is absent (thing {})", getUDN(), getThing().getUID());
|
||||
updateStatus(ThingStatus.OFFLINE, ThingStatusDetail.OFFLINE.COMMUNICATION_ERROR);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user