improved logging
This commit is contained in:
parent
c68771669e
commit
9fa254add0
|
@ -236,6 +236,8 @@ public class FacetBasedISConfigurationProxy extends ISConfigurationProxy<SimpleF
|
||||||
}
|
}
|
||||||
|
|
||||||
if(size==0) {
|
if(size==0) {
|
||||||
|
logger.info("Going to create {} between {} (gcat with UUID={}) and the {}",
|
||||||
|
CallsFor.NAME, EService.NAME, gcatEServiceID, VirtualService.NAME);
|
||||||
PropagationConstraint propagationConstraint = new PropagationConstraintImpl();
|
PropagationConstraint propagationConstraint = new PropagationConstraintImpl();
|
||||||
propagationConstraint.setAddConstraint(AddConstraint.unpropagate);
|
propagationConstraint.setAddConstraint(AddConstraint.unpropagate);
|
||||||
propagationConstraint.setRemoveConstraint(RemoveConstraint.keep);
|
propagationConstraint.setRemoveConstraint(RemoveConstraint.keep);
|
||||||
|
@ -246,6 +248,8 @@ public class FacetBasedISConfigurationProxy extends ISConfigurationProxy<SimpleF
|
||||||
callsFor = resourceRegistryPublisher.create(callsFor);
|
callsFor = resourceRegistryPublisher.create(callsFor);
|
||||||
}else if(size==1){
|
}else if(size==1){
|
||||||
callsFor = callsForList.get(0);
|
callsFor = callsForList.get(0);
|
||||||
|
logger.info("{} between {} (gcat with UUID={}) and the {} exists.\n{}",
|
||||||
|
CallsFor.NAME, EService.NAME, gcatEServiceID, VirtualService.NAME, ElementMapper.marshal(callsFor));
|
||||||
}
|
}
|
||||||
|
|
||||||
return callsFor;
|
return callsFor;
|
||||||
|
|
Loading…
Reference in New Issue