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 <mvcode00@gmail.com>
Signed-off-by: Nick Waterton <n.waterton@outlook.com>
  • Loading branch information
mvalla authored and NickWaterton committed Dec 30, 2021
1 parent 72f77a5 commit e6748f4
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 e6748f4

Please sign in to comment.