Daniel Erez has uploaded a new change for review. Change subject: core: log message on evaluateCorrelationId failure ......................................................................
core: log message on evaluateCorrelationId failure Added a log message warning for evaluateCorrelationId() failure reasons (the method validates correlationId). Change-Id: I4e9916d549709dc83df29f1df642aef141b80e24 Bug-Url: https://bugzilla.redhat.com/886824 Signed-off-by: Daniel Erez <de...@redhat.com> --- M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/Backend.java 1 file changed, 2 insertions(+), 0 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/18/10318/1 diff --git a/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/Backend.java b/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/Backend.java index 474eb03..9bc8fca 100644 --- a/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/Backend.java +++ b/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/Backend.java @@ -339,6 +339,8 @@ parameters == null ? false : StringUtils.isNotEmpty(parameters.getCorrelationId()); returnValue = ExecutionHandler.evaluateCorrelationId(parameters); if (returnValue != null) { + log.warnFormat("CanDoAction of action {0} failed. Reasons: {1}", actionType, + StringUtils.join(returnValue.getCanDoActionMessages(), ',')); return returnValue; } -- To view, visit http://gerrit.ovirt.org/10318 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I4e9916d549709dc83df29f1df642aef141b80e24 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Daniel Erez <de...@redhat.com> _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches