]> git.basschouten.com Git - openhab-addons.git/commitdiff
[ecobee] logging improvements (#10772)
authorrobnielsen <rob.nielsen@yahoo.com>
Sat, 29 May 2021 18:10:06 +0000 (13:10 -0500)
committerGitHub <noreply@github.com>
Sat, 29 May 2021 18:10:06 +0000 (20:10 +0200)
Signed-off-by: Rob Nielsen <rob.nielsen@yahoo.com>
bundles/org.openhab.binding.ecobee/src/main/java/org/openhab/binding/ecobee/internal/handler/EcobeeThermostatBridgeHandler.java

index f6b399bf6f86703eabecce83e2a4159956d83cdf..18e4eb48bd93290f1e9daecf97e5f53ccf761f0f 100644 (file)
@@ -277,7 +277,7 @@ public class EcobeeThermostatBridgeHandler extends BaseBridgeHandler {
         String channelId = channelUID.getIdWithoutGroup();
         String groupId = channelUID.getGroupId();
         if (groupId == null) {
-            logger.info("Can't handle command because channel's groupId is null");
+            logger.info("Can't handle command '{}' because channel's groupId is null", command);
             return;
         }
         ThermostatDTO thermostat = new ThermostatDTO();
@@ -317,7 +317,7 @@ public class EcobeeThermostatBridgeHandler extends BaseBridgeHandler {
     }
 
     private void setField(Field field, Object object, Command command) {
-        logger.info("Setting field '{}.{}' to value '{}'", object.getClass().getSimpleName().toLowerCase(),
+        logger.debug("Setting field '{}.{}' to value '{}'", object.getClass().getSimpleName().toLowerCase(),
                 field.getName(), command);
         Class<?> fieldClass = field.getType();
         try {