String authName = controller.getAuthName();
DesiredConfig oldConfig = h.getDesiredConfigs(c.getClusterId()).get(cr.getType());
if (h.addDesiredConfig(c.getClusterId(), cr.isSelected(), authName, baseConfig)) {
Logger logger = LoggerFactory.getLogger("configchange");
logger.info("cluster '" + c.getClusterName() + "', "
+ "host '" + h.getHostName() + "' "
+ "changed by: '" + authName + "'; "
+ "type='" + baseConfig.getType() + "' "
+ "tag='" + baseConfig.getVersionTag() + "'"
+ (null == oldConfig ? "" : ", from='" + oldConfig.getVersion() + "'"));