Commits

Sebastian Bub committed 8940b2f

some minor logging changes

Comments (0)

Files changed (1)

src/main/java/de/derbub/rpigpio/SingleContext.java

                         log.debug("condition '" + cmd.getKey() + " as expected");
                         continue;
                     } else {
-                        log.info("condition '" + cmd.getKey() + ": " + oldValue + "!=" + cmd.getValue() + ". Will stop now");
+                        log.info("condition '" + cmd.getKey() + ": is: " + oldValue + " otherValue: " + cmd.getValue() + ". Will stop now");
                         break;
                     }
                 }
                         } else {
                             virtualVariables.put(cmd.getKey(), cmd.getValue());
                             returnMap.put(cmd.getKey(), cmd.getValue());
-                            log.info("Will set state " + cmd.getValue() + " for " + cmd.getKey());
+                            log.info("Setting value " + cmd.getValue() + " for " + cmd.getKey());
                         }
                     } else {
                         map.put(cmd.getKey(), cmd.getValue());