From 29e4805d03501209bb7982fdc55c5252a22b3611 Mon Sep 17 00:00:00 2001 From: robnielsen Date: Sat, 29 May 2021 13:10:06 -0500 Subject: [PATCH] [ecobee] logging improvements (#10772) Signed-off-by: Rob Nielsen --- .../internal/handler/EcobeeThermostatBridgeHandler.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bundles/org.openhab.binding.ecobee/src/main/java/org/openhab/binding/ecobee/internal/handler/EcobeeThermostatBridgeHandler.java b/bundles/org.openhab.binding.ecobee/src/main/java/org/openhab/binding/ecobee/internal/handler/EcobeeThermostatBridgeHandler.java index f6b399bf6f867..18e4eb48bd932 100644 --- a/bundles/org.openhab.binding.ecobee/src/main/java/org/openhab/binding/ecobee/internal/handler/EcobeeThermostatBridgeHandler.java +++ b/bundles/org.openhab.binding.ecobee/src/main/java/org/openhab/binding/ecobee/internal/handler/EcobeeThermostatBridgeHandler.java @@ -277,7 +277,7 @@ private void handleThermostatCommand(ChannelUID channelUID, Command command) { 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 @@ private void handleThermostatCommand(ChannelUID channelUID, Command command) { } 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 {