Skip to content

Commit

Permalink
[openwebnet] reduced log messages during UPnP bridge discovery (openh…
Browse files Browse the repository at this point in the history
…ab#11705)

Signed-off-by: Massimo Valla <[email protected]>
  • Loading branch information
mvalla authored and andan67 committed Nov 5, 2022
1 parent 1343e9f commit 4dc02b1
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -150,10 +150,10 @@ public Set<ThingTypeUID> getSupportedThingTypeUIDs() {

@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) {
Expand Down Expand Up @@ -226,7 +226,7 @@ public Set<ThingTypeUID> getSupportedThingTypeUIDs() {
}
}
}
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;
}
Expand Down

0 comments on commit 4dc02b1

Please sign in to comment.