// create hosts and instances of specified components for each host
Set<String>warnedKeys=Sets.newHashSet();
...
...
@@ -101,7 +113,14 @@ public class SimCfgDefaultHostBuilder implements SimCfgHostBuilder, HostBuilder
}catch(ConfigurationExceptione){
if(!warnedKeys.contains(key)){
warnedKeys.add(key);
log.warn("Loss of precession: Could not set the attribute '"+key+"' on host group '"+hostGroup.getGroupId()+"'. Adding a custom property with type String.");
Monitor.log(
SimCfgDefaultHostBuilder.class,
Level.WARN,
"Loss of precession: Could not set the attribute '"
+key
+"' on host group '"
+hostGroup.getGroupId()
+"'. Adding a custom property with type String.");