[openwebnet] reduced log messages during UPnP bridge discovery (#11705)
Signed-off-by: Massimo Valla <mvcode00@gmail.com>
This commit is contained in:
parent
4a58a5158c
commit
67f7de1403
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user