Martin Peřina has uploaded a new change for review. Change subject: core: Fix logging in SshSoftFencingCommand ......................................................................
core: Fix logging in SshSoftFencingCommand Fix logging in SshSoftFencingCommand which has been brokem by wrong merge. Change-Id: I6ea12003bd44f6500e3878176e98debd102da056 Signed-off-by: Martin Perina <[email protected]> --- M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/SshSoftFencingCommand.java 1 file changed, 3 insertions(+), 1 deletion(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/19/16619/1 diff --git a/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/SshSoftFencingCommand.java b/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/SshSoftFencingCommand.java index 6d26b00..a477c77 100644 --- a/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/SshSoftFencingCommand.java +++ b/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/SshSoftFencingCommand.java @@ -79,9 +79,11 @@ bos, null); log.info("SSH Soft Fencing command executed on host " + getVds().getHostName()); - log.debug("SSH Soft Fencing command output " + bos.toString()); } catch (Exception ex) { log.error("SSH Soft Fencing command failed on host " + getVds().getHostName(), ex); + if (bos != null) { + log.error("SSH Soft Fencing command output " + bos.toString()); + } result = false; } finally { closeSshConnection(sshClient); -- To view, visit http://gerrit.ovirt.org/16619 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I6ea12003bd44f6500e3878176e98debd102da056 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Martin Peřina <[email protected]> _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
