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:
lsiepel 2024-10-28 13:42:52 +01:00 committed by Ciprian Pascu
parent d20144d932
commit 7a45a6156a

View File

@ -3268,13 +3268,13 @@ public class ZonePlayerHandler extends BaseThingHandler implements UpnpIOPartici
@Override @Override
public void onStatusChanged(boolean status) { public void onStatusChanged(boolean status) {
if (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) { if (getThing().getStatus() != ThingStatus.ONLINE) {
updateStatus(ThingStatus.ONLINE); updateStatus(ThingStatus.ONLINE);
scheduler.execute(this::poll); scheduler.execute(this::poll);
} }
} else { } 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); updateStatus(ThingStatus.OFFLINE, ThingStatusDetail.OFFLINE.COMMUNICATION_ERROR);
} }
} }