[openwebnet] reduced log messages during UPnP bridge discovery ()

Signed-off-by: Massimo Valla <mvcode00@gmail.com>
This commit is contained in:
M Valla 2021-12-12 13:21:52 +01:00 committed by GitHub
parent 4a58a5158c
commit 67f7de1403
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -150,10 +150,10 @@ public class BusGatewayUpnpDiscovery implements UpnpDiscoveryParticipant {
@Override
public @Nullable DiscoveryResult createResult(RemoteDevice device) {
logger.info("Found device {}", device.getType());
logger.debug("Found device {}", device.getType());
DeviceInfo devInfo = new DeviceInfo(device);
if (!devInfo.manufacturer.matches("<unknown>")) {
logger.info(" |- {} ({})", devInfo.modelName, devInfo.manufacturer);
logger.debug(" |- {} ({})", devInfo.modelName, devInfo.manufacturer);
}
ThingUID thingId = generateThingUID(devInfo);
if (thingId != null) {
@ -226,7 +226,7 @@ public class BusGatewayUpnpDiscovery implements UpnpDiscoveryParticipant {
}
}
}
logger.info("Found BTicino device: not a OpenWebNet gateway or is not supported (UDN={})", idString);
logger.info("Found BTicino device: not a OpenWebNet gateway or not supported (UDN={})", idString);
}
return null;
}