]> git.basschouten.com Git - openhab-addons.git/commitdiff
[openwebnet] reduced log messages during UPnP bridge discovery (#11705)
authorM Valla <12682715+mvalla@users.noreply.github.com>
Sun, 12 Dec 2021 12:21:52 +0000 (13:21 +0100)
committerGitHub <noreply@github.com>
Sun, 12 Dec 2021 12:21:52 +0000 (13:21 +0100)
Signed-off-by: Massimo Valla <mvcode00@gmail.com>
bundles/org.openhab.binding.openwebnet/src/main/java/org/openhab/binding/openwebnet/internal/discovery/BusGatewayUpnpDiscovery.java

index 2190cc9cb25ab665410cb918bc4c2b3b1ddc6f51..b2b4f29dc0d54ce44f9498c1e07533cf0eab5be4 100644 (file)
@@ -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;
     }