Reduce log level (#17647)

Signed-off-by: Leo Siepel <leosiepel@gmail.com>
This commit is contained in:
lsiepel 2024-10-28 13:42:52 +01:00 committed by GitHub
parent e9dfefbe97
commit 39bb19dceb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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);
}
}