mirror of https://github.com/apache/jclouds.git
Issue 314: reduced verbosity of parsing
This commit is contained in:
parent
e2c5a546a8
commit
7e5fb14f60
|
@ -191,9 +191,9 @@ public class RunningInstanceToNodeMetadata implements Function<RunningInstance,
|
||||||
|
|
||||||
})).substring(8).replaceAll("#" + instance.getRegion() + "$", "");
|
})).substring(8).replaceAll("#" + instance.getRegion() + "$", "");
|
||||||
} catch (NoSuchElementException e) {
|
} catch (NoSuchElementException e) {
|
||||||
logger.warn("no tag parsed from %s's groups: %s", instance.getId(), instance.getGroupIds());
|
logger.debug("no tag parsed from %s's groups: %s", instance.getId(), instance.getGroupIds());
|
||||||
} catch (IllegalArgumentException e) {
|
} catch (IllegalArgumentException e) {
|
||||||
logger.warn("too many groups match %s; %s's groups: %s", "jclouds#", instance.getId(), instance.getGroupIds());
|
logger.debug("too many groups match %s; %s's groups: %s", "jclouds#", instance.getId(), instance.getGroupIds());
|
||||||
}
|
}
|
||||||
return tag;
|
return tag;
|
||||||
}
|
}
|
||||||
|
@ -222,7 +222,7 @@ public class RunningInstanceToNodeMetadata implements Function<RunningInstance,
|
||||||
try {
|
try {
|
||||||
image = imageMap.get(key);
|
image = imageMap.get(key);
|
||||||
} catch (NullPointerException nex) {
|
} catch (NullPointerException nex) {
|
||||||
logger.warn("could not find a matching image for instance %s in location %s", instance, location);
|
logger.debug("could not find a matching image for instance %s in location %s", instance, location);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return image;
|
return image;
|
||||||
|
|
Loading…
Reference in New Issue