最佳答案
instead of
logger.debug("Temperature set to"+ t + ". Old temperature was " + oldT);
In my case this worked:
I think it's about speed optimization because parameters evaluation (and string concatenation) could be avoided in runtime depending on a config file. But only two parameters are possible, then sometimes there is no other choice than string concatenation. Needing views on this issue.