Skip to content

Commit

Permalink
[ecobee] logging improvements (openhab#10772)
Browse files Browse the repository at this point in the history
Signed-off-by: Rob Nielsen <rob.nielsen@yahoo.com>
  • Loading branch information
robnielsen authored and computergeek1507 committed Jul 13, 2021
1 parent b672d52 commit 29e4805
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down Expand Up @@ -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 {
Expand Down

0 comments on commit 29e4805

Please sign in to comment.